Merge pull request #148 from eightyeight/simfindobject

Prevented looking up incorrect object handles
This commit is contained in:
Daniel Buckmaster 2014-10-14 13:56:33 +11:00
commit 0fb7266dbe

View file

@ -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;