From 7e9a296b7a35071afa0a91d8d3bb18ce59e35a72 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 8 Jan 2005 15:31:55 +0000 Subject: [PATCH] cleanup --- stepmania/src/Player.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index a704873a7e..f1deb85f01 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -1317,10 +1317,10 @@ void PlayerMinus::HandleTapRowScore( unsigned row ) if( m_pPlayerStageStats ) m_pPlayerStageStats->iCurCombo; - if(m_pPrimaryScoreKeeper) - m_pPrimaryScoreKeeper->HandleTapRowScore(scoreOfLastTap, iNumTapsInRow ); - if(m_pSecondaryScoreKeeper) - m_pSecondaryScoreKeeper->HandleTapRowScore(scoreOfLastTap, iNumTapsInRow ); + if( m_pPrimaryScoreKeeper != NULL ) + m_pPrimaryScoreKeeper->HandleTapRowScore( scoreOfLastTap, iNumTapsInRow ); + if( m_pSecondaryScoreKeeper != NULL ) + m_pSecondaryScoreKeeper->HandleTapRowScore( scoreOfLastTap, iNumTapsInRow ); if( m_pPlayerStageStats ) m_Combo.SetCombo( m_pPlayerStageStats->iCurCombo, m_pPlayerStageStats->iCurMissCombo );