mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Fixed String comparisons.
This commit is contained in:
parent
d6570e3533
commit
2f48f31a6f
5 changed files with 7 additions and 7 deletions
|
|
@ -547,7 +547,7 @@ DefineConsoleFunction( aiAddPlayer, S32, (const char * name, const char * ns), (
|
|||
aiPlayer->onConnect_callback( name );
|
||||
|
||||
// Now execute the onAdd command and feed it the namespace
|
||||
if( ns != "" )
|
||||
if(dStrcmp( ns,"" ) != 0 )
|
||||
aiPlayer->onAdd( ns );
|
||||
else
|
||||
aiPlayer->onAdd( "AIClient" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue