From da0553609a299efe8d8c70bb7885d2c2c43eaea8 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 29 Aug 2004 10:00:27 +0000 Subject: [PATCH] Is the right thing to do here, or should it be rounded? --- stepmania/src/NoteField.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/NoteField.cpp b/stepmania/src/NoteField.cpp index 500614ec1c..faddad86d4 100644 --- a/stepmania/src/NoteField.cpp +++ b/stepmania/src/NoteField.cpp @@ -412,7 +412,7 @@ void NoteField::DrawPrimitives() float fCenteredTimesBoomerang = current_po.m_fScrolls[PlayerOptions::SCROLL_CENTERED] * current_po.m_fAccels[PlayerOptions::ACCEL_BOOMERANG]; - iFirstPixelToDraw += SCALE( fCenteredTimesBoomerang, 0.f, 1.f, 0.f, -SCREEN_HEIGHT/2 ); + iFirstPixelToDraw += int(SCALE( fCenteredTimesBoomerang, 0.f, 1.f, 0.f, -SCREEN_HEIGHT/2 )); int iLastPixelToDraw = m_iEndDrawingPixel; float fDrawScale = 1;