From 05e69b4b83d2b95f455cd9d255722ea5e6305680 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 6 Jan 2007 08:28:53 +0000 Subject: [PATCH] simplify --- stepmania/src/NoteDisplay.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/NoteDisplay.cpp b/stepmania/src/NoteDisplay.cpp index e707394cf7..c61aea8eda 100644 --- a/stepmania/src/NoteDisplay.cpp +++ b/stepmania/src/NoteDisplay.cpp @@ -401,14 +401,13 @@ void NoteDisplay::DrawHoldPart( vector &vpSpr, int iCol, int fYStep, fl bool bAllAreTransparent = true; bool bLast = false; float fVertTexCoordOffset = 0; - float fY = fYStartPos; DISPLAY->ClearAllTextures(); DISPLAY->SetCullMode( CULL_NONE ); DISPLAY->SetTextureWrapping( bWrapping ); StripBuffer queue; - for( ; !bLast; fY += fYStep ) + for( float fY = fYStartPos; !bLast; fY += fYStep ) { if( fY >= fYEndPos ) {