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
|
|
@ -646,7 +646,6 @@ void ConsoleObject::addProtectedFieldV(const char* in_pFieldname,
|
|||
f.offset = in_fieldOffset;
|
||||
f.elementCount = in_elementCount;
|
||||
f.validator = v;
|
||||
f.validator->fieldIndex = sg_tempFieldList.size();
|
||||
f.flag = flags;
|
||||
|
||||
f.setDataFn = in_setDataFn;
|
||||
|
|
@ -722,7 +721,6 @@ void ConsoleObject::addFieldV(const char* in_pFieldname,
|
|||
f.writeDataFn = &defaultProtectedWriteFn;
|
||||
f.elementCount = in_elementCount;
|
||||
f.validator = v;
|
||||
f.validator->fieldIndex = sg_tempFieldList.size();
|
||||
f.networkMask = 0;
|
||||
|
||||
sg_tempFieldList.push_back(f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue