skip trying to be clever and just report the variable name being checked directly

This commit is contained in:
AzaezelX 2025-03-18 03:13:37 -05:00
parent 55ac453ab9
commit 011a8906ff
14 changed files with 29 additions and 33 deletions

View file

@ -35,7 +35,7 @@
// When an effect is added using "addEffect", this validator intercepts the value
// and adds it to the dynamic effects list.
//
void afxEffectGroupData::egValidator::validateType(SimObject* object, void* typePtr)
void afxEffectGroupData::egValidator::validateType(SimObject* object, StringTableEntry varname, void* typePtr)
{
afxEffectGroupData* eff_data = dynamic_cast<afxEffectGroupData*>(object);
afxEffectBaseData** ew = (afxEffectBaseData**)(typePtr);