From 64e8edb16500bdeb5b935633ff9ddce95dedff8e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 2 Feb 2004 05:49:18 +0000 Subject: [PATCH] compile fix --- stepmania/src/SongManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index 3de6fa6b74..16f1402323 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -753,7 +753,7 @@ Song* SongManager::GetRandomSong() if( m_pShuffledSongs.empty() ) return NULL; - static i = 0; + static int i = 0; i++; wrap( i, m_pShuffledSongs.size() ); @@ -765,7 +765,7 @@ Course* SongManager::GetRandomCourse() if( m_pShuffledCourses.empty() ) return NULL; - static i = 0; + static int i = 0; i++; wrap( i, m_pShuffledCourses.size() );