From 1c9d37a7a49e7ad8148bd150cd04ac8cb8f7f862 Mon Sep 17 00:00:00 2001 From: Flameshadowxeroshin Date: Wed, 29 Sep 2010 19:16:53 -0500 Subject: [PATCH] Fix issues with RequireStepOnHoldHeads not working properly if the W5 window is zero --- src/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.cpp b/src/Player.cpp index 049fcbca66..60a480258b 100644 --- a/src/Player.cpp +++ b/src/Player.cpp @@ -2010,7 +2010,7 @@ void Player::StepStrumHopo( int col, int row, const RageTimer &tm, bool bHeld, b case TapNote::hold_head: // oh wow, this was causing the trigger before the hold heads // bug. (It was fNoteOffset > 0.f before) -DaisuMaster - if( !REQUIRE_STEP_ON_HOLD_HEADS && fNoteOffset <= GetWindowSeconds( TW_W5 ) ) + if( !REQUIRE_STEP_ON_HOLD_HEADS && ( fNoteOffset <= GetWindowSeconds( TW_W5 ) && GetWindowSeconds( TW_W5 ) != 0 ) ) { score = TNS_W1; break;