From 1d378020cedc95f5fe7f08d5b57b51a1f7a36e71 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 6 Aug 2006 08:50:24 +0000 Subject: [PATCH] Const. --- stepmania/src/GameState.cpp | 2 +- stepmania/src/GameState.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index ca50e51272..b98ed0210f 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -1588,7 +1588,7 @@ void GameState::VisitAttractScreen( const RString sScreenName ) m_iNumTimesThroughAttract++; } -bool GameState::DifficultiesLocked() +bool GameState::DifficultiesLocked() const { if( m_PlayMode == PLAY_MODE_RAVE ) return true; diff --git a/stepmania/src/GameState.h b/stepmania/src/GameState.h index 813f5459db..91eb9328da 100644 --- a/stepmania/src/GameState.h +++ b/stepmania/src/GameState.h @@ -62,7 +62,7 @@ public: int m_iCoins; // not "credits" PlayerNumber m_MasterPlayerNumber; // used in Styles where one player controls both sides bool m_bMultiplayer; - bool DifficultiesLocked(); + bool DifficultiesLocked() const; bool ChangePreferredDifficulty( PlayerNumber pn, Difficulty dc ); bool ChangePreferredDifficulty( PlayerNumber pn, int dir ); bool ChangePreferredCourseDifficulty( PlayerNumber pn, CourseDifficulty cd );