From a669319a71890e0e9ad2e4355799e88c4f26ff98 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 10 Dec 2003 05:49:01 +0000 Subject: [PATCH] fix warnings --- stepmania/src/GameState.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 81652fd4e1..09c020d33d 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -170,8 +170,8 @@ void GameState::EndGame() Profile* pMachineProfile = PROFILEMAN->GetMachineProfile(); int iGameplaySeconds = 0; - for( int i=0; im_iTotalPlaySeconds += iPlaySeconds; pMachineProfile->m_iTotalGameplaySeconds += iGameplaySeconds; @@ -183,7 +183,8 @@ void GameState::EndGame() if( !IsHumanPlayer(p) ) continue; - for( int i=0; im_iNumSongsPlayedByPlayMode[ss.playMode]++; @@ -203,7 +204,7 @@ void GameState::EndGame() GAMESTATE->m_CurStageStats.iCurCombo[p] : 0; - for( int i=0; im_iNumSongsPlayedByPlayMode[ss.playMode]++;