mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-24 22:54:50 +00:00
Update simObject.cpp
Accidental redefine
This commit is contained in:
parent
a4fde427b7
commit
cf21bf7dfd
|
|
@ -2844,7 +2844,6 @@ DefineEngineMethod( SimObject, getFieldValue, const char*, ( const char* fieldNa
|
|||
// Parse out index if the field is given in the form of 'name[index]'.
|
||||
|
||||
const char* arrayIndex = NULL;
|
||||
const U32 nameLen = dStrlen( fieldName );
|
||||
if( fieldName[ nameLen - 1 ] == ']' )
|
||||
{
|
||||
const char* leftBracket = dStrchr( fieldName, '[' );
|
||||
|
|
|
|||
Loading…
Reference in a new issue