mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-24 17:13:54 +00:00
Merge pull request #148 from eightyeight/simfindobject
Prevented looking up incorrect object handles
This commit is contained in:
commit
0fb7266dbe
1 changed files with 2 additions and 0 deletions
|
|
@ -367,6 +367,8 @@ SimObject* findObject(const char* name)
|
|||
return NULL;
|
||||
return obj->findObject(temp);
|
||||
}
|
||||
else if (c < '0' || c > '9')
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
S32 len;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue