From 6d1c96449fc7fad7c50b3b483327ce8cc2ec43c5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 3 May 2007 21:26:54 +0000 Subject: [PATCH] simplify --- stepmania/src/GradeDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/GradeDisplay.cpp b/stepmania/src/GradeDisplay.cpp index b6da25abe4..92da58df91 100644 --- a/stepmania/src/GradeDisplay.cpp +++ b/stepmania/src/GradeDisplay.cpp @@ -74,7 +74,7 @@ void GradeDisplay::Update( float fDeltaTime ) int GradeDisplay::GetFrameIndex( PlayerNumber pn, Grade g ) { - if( this->GetTexture()->GetID().filename.find("_blank") != string::npos ) + if( Sprite::GetNumStates() == 1 ) return 0; // either 8, or 16 states