Merge pull request #2285 from Azaezel/method_Unmangle

corrects a pair of conversions. one object oriented, one not.
This commit is contained in:
Areloch 2018-12-13 09:38:59 -06:00 committed by GitHub
commit 3d94cb5b93
2 changed files with 2 additions and 2 deletions

View file

@ -509,7 +509,7 @@ DefineEngineMethod(PopupMenu, getItemCount, S32, (), , "()")
return object->getItemCount();
}
DefineConsoleMethod(PopupMenu, clearItems, void, (), , "()")
DefineEngineMethod(PopupMenu, clearItems, void, (), , "()")
{
return object->clearItems();
}

View file

@ -76,7 +76,7 @@ public:
TorqueUnitTestListener( bool verbose ) : mVerbose( verbose ) {}
};
DefineConsoleFunction( runAllUnitTests, int, (const char* testSpecs), (""),
DefineEngineFunction( runAllUnitTests, int, (const char* testSpecs), (""),
"Runs engine unit tests. Some tests are marked as 'stress' tests which do not "
"necessarily check correctness, just performance or possible nondeterministic "
"glitches. There may also be interactive or networking tests which may be "