From 64e4a4260a97752235de1d69dae9b7ed064898f6 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 26 Sep 2003 05:44:36 +0000 Subject: [PATCH] fix difficulty icon frame checking bug --- stepmania/src/DifficultyIcon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/DifficultyIcon.cpp b/stepmania/src/DifficultyIcon.cpp index cf410984de..1f134dedb5 100644 --- a/stepmania/src/DifficultyIcon.cpp +++ b/stepmania/src/DifficultyIcon.cpp @@ -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();