Fix issues with RequireStepOnHoldHeads not working properly if the W5 window is zero

This commit is contained in:
Flameshadowxeroshin
2010-09-29 19:16:53 -05:00
parent 8f09e3c337
commit 1c9d37a7a4
+1 -1
View File
@@ -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;