fix difficulty icon frame checking bug
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
bool DifficultyIcon::Load( CString sPath )
|
||||
{
|
||||
Sprite::Load( sPath );
|
||||
if( GetNumStates() != 5 && GetNumStates() != 10 )
|
||||
if( GetNumStates() != 5 || GetNumStates() != 10 )
|
||||
if( DISPLAY->IsWindowed() )
|
||||
HOOKS->MessageBoxOK( ssprintf("The difficulty icon graphic '%s' must have 5 or 10 frames.", sPath.c_str()) );
|
||||
StopAnimating();
|
||||
|
||||
Reference in New Issue
Block a user