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

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