mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fixed bad string compares and simdictionary
This commit is contained in:
parent
acb192e2a5
commit
9907c4592e
30 changed files with 169 additions and 202 deletions
|
|
@ -1464,7 +1464,7 @@ DefineConsoleFunction( sfxCreateSource, S32, ( const char * SFXType, const char
|
|||
|
||||
if ( track )
|
||||
{
|
||||
if ( x == "" )
|
||||
if (dStrcmp(x, "") == 0)
|
||||
{
|
||||
source = SFX->createSource( track );
|
||||
}
|
||||
|
|
@ -1674,7 +1674,7 @@ DefineConsoleFunction( sfxPlayOnce, S32, ( const char * SFXType, const char * fi
|
|||
SFXSource* source = NULL;
|
||||
if( track )
|
||||
{
|
||||
if( x == "" )
|
||||
if (dStrcmp(x, "") == 0)
|
||||
{
|
||||
source = SFX->playOnce( track );
|
||||
}
|
||||
|
|
@ -1695,7 +1695,7 @@ DefineConsoleFunction( sfxPlayOnce, S32, ( const char * SFXType, const char * fi
|
|||
}
|
||||
else
|
||||
{
|
||||
if( x == "" )
|
||||
if (dStrcmp(x, "") == 0)
|
||||
source = SFX->playOnce( tempProfile );
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue