From 4cc4349c4ce4a1a6f385656fd52dabe74b448326 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 3 Jun 2004 21:35:45 +0000 Subject: [PATCH] simplify --- stepmania/src/ScreenGameplay.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 4bee7627d9..1db73628d9 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -185,16 +185,12 @@ void ScreenGameplay::Init() { Course* pCourse = GAMESTATE->m_pCurCourse; ASSERT( pCourse ); - const StepsType st = GAMESTATE->GetCurrentStyleDef()->m_StepsType; /* Increment the play count. */ if( !m_bDemonstration ) { FOREACH_EnabledPlayer(p) - { - Trail* pTrail = GAMESTATE->m_pCurTrail[p]; - PROFILEMAN->IncrementCoursePlayCount( pCourse, pTrail, p ); - } + PROFILEMAN->IncrementCoursePlayCount( pCourse, GAMESTATE->m_pCurTrail[p], p ); } m_apSongsQueue.clear();