Revert "test: try to fix "phantom holds" when JudgeHoldNotesOnSameTogether is enabled"
This reverts commit 6999f94d38.
This was causing a crash when warping past holds at the end of a chart.
This commit is contained in:
@@ -1104,13 +1104,6 @@ void Player::UpdateHoldNotes( int iSongRow, float fDeltaTime, vector<TrackRowTap
|
|||||||
ASSERT( iStartRow == trtn->iRow );
|
ASSERT( iStartRow == trtn->iRow );
|
||||||
TapNote &tn = *trtn->pTN;
|
TapNote &tn = *trtn->pTN;
|
||||||
int iEndRow = iStartRow + tn.iDuration;
|
int iEndRow = iStartRow + tn.iDuration;
|
||||||
|
|
||||||
if( iEndRow < iSongRow )
|
|
||||||
{
|
|
||||||
trtn = --vTN.erase(trtn);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if( subType == TapNote::SubType_Invalid )
|
if( subType == TapNote::SubType_Invalid )
|
||||||
subType = tn.subType;
|
subType = tn.subType;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user