Code cleanup: no need to re-initialize a variable to the same thing on false.
This commit is contained in:
@@ -1680,8 +1680,7 @@ void Player::StepStrumHopo( int col, int row, const RageTimer &tm, bool bHeld, b
|
|||||||
bool bInitiatedNote = true;
|
bool bInitiatedNote = true;
|
||||||
if( REQUIRE_STEP_ON_HOLD_HEADS )
|
if( REQUIRE_STEP_ON_HOLD_HEADS )
|
||||||
bInitiatedNote = tns != TNS_None && tns != TNS_Miss; // did they step on the start?
|
bInitiatedNote = tns != TNS_None && tns != TNS_Miss; // did they step on the start?
|
||||||
else
|
|
||||||
bInitiatedNote = true;
|
|
||||||
const int iEndRow = iRow + tn.iDuration;
|
const int iEndRow = iRow + tn.iDuration;
|
||||||
|
|
||||||
if( bInitiatedNote && tn.HoldResult.fLife != 0 )
|
if( bInitiatedNote && tn.HoldResult.fLife != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user