hold fix: try again?

This commit is contained in:
Flameshadowxeroshin
2013-05-16 21:07:00 -05:00
parent 3f94afafdd
commit 0ef9b81e02
+7
View File
@@ -1104,6 +1104,13 @@ void Player::UpdateHoldNotes( int iSongRow, float fDeltaTime, vector<TrackRowTap
ASSERT( iStartRow == trtn->iRow );
TapNote &tn = *trtn->pTN;
int iEndRow = iStartRow + tn.iDuration;
if( iEndRow < iSongRow && vTN.size() > 1 )
{
trtn = --vTN.erase(trtn);
continue;
}
if( subType == TapNote::SubType_Invalid )
subType = tn.subType;