mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
skip trying to be clever and just report the variable name being checked directly
This commit is contained in:
parent
55ac453ab9
commit
011a8906ff
14 changed files with 29 additions and 33 deletions
|
|
@ -1097,7 +1097,7 @@ void SimObject::setDataField(StringTableEntry slotName, const char *array, const
|
|||
Con::setData(fld->type, (void *) (((const char *)this) + fld->offset), array1, 1, &value, fld->table);
|
||||
|
||||
if(fld->validator)
|
||||
fld->validator->validateType(this, (void *) (((const char *)this) + fld->offset));
|
||||
fld->validator->validateType(this, fld->pFieldname, (void *) (((const char *)this) + fld->offset));
|
||||
|
||||
if (fld->networkMask != 0)
|
||||
{
|
||||
|
|
@ -1111,7 +1111,7 @@ void SimObject::setDataField(StringTableEntry slotName, const char *array, const
|
|||
}
|
||||
|
||||
if(fld->validator)
|
||||
fld->validator->validateType(this, (void *) (((const char *)this) + fld->offset));
|
||||
fld->validator->validateType(this, fld->pFieldname, (void *) (((const char *)this) + fld->offset));
|
||||
|
||||
onStaticModified( slotName, value );
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue