Added special case to JoinPlayer's style changing logic, see comment in code. Fixed mistake in hold logic that made holds never drop.

This commit is contained in:
Kyzentun
2015-01-22 12:37:48 -07:00
parent b09fc11210
commit b6e9d188c3
2 changed files with 17 additions and 11 deletions
+1 -4
View File
@@ -1225,10 +1225,7 @@ void Player::UpdateHoldNotes( int iSongRow, float fDeltaTime, vector<TrackRowTap
vector<GameInput> GameI;
GAMESTATE->GetCurrentStyle(GetPlayerState()->m_PlayerNumber)->StyleInputToGameInput( iTrack, pn, GameI );
bool is_holding= false;
// this previously read as bIsHoldingButton &=
// was there a specific reason for this? - Friez
is_holding &= INPUTMAPPER->IsBeingPressed(GameI, m_pPlayerState->m_mp);
bIsHoldingButton &= INPUTMAPPER->IsBeingPressed(GameI, m_pPlayerState->m_mp);
}
}
}