add checkpoints to catch input assert

This commit is contained in:
Chris Danford
2005-10-15 16:52:01 +00:00
parent ae7300b3be
commit 349c19cb09
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -529,6 +529,7 @@ void Player::Update( float fDeltaTime )
CHECKPOINT_M( ssprintf("P%i, %i %i", pn, col, iNumCols) );
const StyleInput StyleI( pn, col );
CHECKPOINT_M( ssprintf("P%i %i", StyleI.player, StyleI.col) );
bool bIsHoldingButton = INPUTMAPPER->IsButtonDown( StyleI );
// TODO: Make this work for non-human-controlled players
if( bIsHoldingButton && !GAMESTATE->m_bDemonstrationOrJukebox && m_pPlayerState->m_PlayerController==PC_HUMAN )