mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix buffer corruption.
This commit is contained in:
parent
6d93e96dc3
commit
27a4868b6e
4 changed files with 14 additions and 7 deletions
|
|
@ -2972,7 +2972,8 @@ DefineEngineStringlyVariadicMethod( SimObject, call, const char*, 3, 0, "( strin
|
|||
"@return The result of the method call." )
|
||||
{
|
||||
argv[1].setString(argv[2]);
|
||||
return Con::execute( object, argc - 1, argv + 1 );
|
||||
ConsoleValue returnValue = Con::execute(object, argc - 1, argv + 1);
|
||||
return Con::getReturnBuffer(returnValue.getString());
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue