Fixed String comparisons.

This commit is contained in:
Vincent Gee 2014-11-05 23:29:08 -05:00
parent d6570e3533
commit 2f48f31a6f
5 changed files with 7 additions and 7 deletions

View file

@ -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" );