From 08acd04a3678deb00ece5f0c0f0e93e6e46c468f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 27 May 2007 06:40:37 +0000 Subject: [PATCH] haste tweaks --- stepmania/src/ScreenGameplay.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 873f49e5e1..f113c68dfd 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1834,8 +1834,10 @@ float ScreenGameplay::GetHasteRate() float fSpeed = 1.0f; if( GAMESTATE->m_fHasteRate < 0 ) fSpeed = SCALE( GAMESTATE->m_fHasteRate, -1.0f, 0.0f, 0.5f, 1.0f ); + else if( GAMESTATE->m_fHasteRate < 0.3f ) + fSpeed = SCALE( GAMESTATE->m_fHasteRate, 0.0f, 0.3f, 1.0f, 1.2f ); else - fSpeed = SCALE( GAMESTATE->m_fHasteRate, 0.0f, 1.0f, 1.0f, 1.5f ); + fSpeed = SCALE( GAMESTATE->m_fHasteRate, 0.3f, 1.0f, 1.2f, 1.5f ); fSpeed *= GAMESTATE->m_SongOptions.GetCurrent().m_fHaste; if( GAMESTATE->m_fAccumulatedHasteSeconds <= 1 )