prefer standard find() over Find
This commit is contained in:
@@ -23,7 +23,7 @@ bool DifficultyIcon::Load( CString sPath )
|
||||
Sprite::Load( sPath );
|
||||
int iStates = GetNumStates();
|
||||
bool bWarn = iStates != NUM_DIFFICULTIES && iStates != NUM_DIFFICULTIES*2;
|
||||
if( sPath.Find("_blank") != -1 )
|
||||
if( sPath.find("_blank") != string::npos )
|
||||
bWarn = false;
|
||||
if( bWarn )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user