fix difficulty icon frame checking bug

This commit is contained in:
Chris Danford
2003-09-26 05:44:36 +00:00
parent 7be871b13a
commit 64e4a4260a
+1 -1
View File
@@ -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();