mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge pull request #635 from just-bank/engine-fixes
Various engine fixes
This commit is contained in:
commit
cd978039ac
37 changed files with 106 additions and 86 deletions
|
|
@ -222,7 +222,7 @@ extern "C" {
|
|||
{
|
||||
// maxArgs improper on a number of console function/methods
|
||||
if (argc < entry->mMinArgs)// || argc > entry->mMaxArgs)
|
||||
return "";
|
||||
return false;
|
||||
|
||||
SimObject* o = NULL;
|
||||
|
||||
|
|
@ -230,7 +230,7 @@ extern "C" {
|
|||
{
|
||||
o = Sim::findObject(dAtoi(argv[1]));
|
||||
if (!o)
|
||||
return "";
|
||||
return false;
|
||||
}
|
||||
|
||||
return entry->cb.mBoolCallbackFunc(o, argc, argv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue