mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 03:45:26 +00:00
Merge pull request #842 from eightyeight/console-func-refactor
jamesu's console function refactor
This commit is contained in:
commit
81a385094f
94 changed files with 1886 additions and 721 deletions
|
|
@ -494,9 +494,9 @@ ConsoleMethod( FileObject, writeObject, void, 3, 4, "FileObject.writeObject(SimO
|
|||
return;
|
||||
}
|
||||
|
||||
char *objName = NULL;
|
||||
const char *objName = NULL;
|
||||
if( argc == 4 )
|
||||
objName = (char*)argv[3];
|
||||
objName = (const char*)argv[3];
|
||||
|
||||
object->writeObject( obj, (const U8*)objName );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue