From bbc957dee6cbba6bcf907a12b3d270749880c82c Mon Sep 17 00:00:00 2001 From: Matt Denham Date: Tue, 28 Oct 2003 06:38:36 +0000 Subject: [PATCH] cleaned up test for whether to play "gameplay oni failed halfway" to match arcade --- stepmania/src/ScreenGameplay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 30e07963dc..13a218db51 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1875,8 +1875,9 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM ) } // Feels hackish. Feel free to make cleaner. + // MD 10/27/03 - I felt free. :-) And now it's arcade-accurate as well. if(GAMESTATE->IsCourseMode()) - if(GAMESTATE->GetCourseSongIndex() > (int(m_apSongsQueue.size() / 2) - 1 ) && GAMESTATE->GetCourseSongIndex() < (int(m_apSongsQueue.size() / 2) + 1)) + if(GAMESTATE->GetCourseSongIndex() > (int(m_apSongsQueue.size() / 2) - 1 )) SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo( "gameplay oni failed halfway" ) ); else SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo( "gameplay oni failed" ) );