From ba28f7f57f45deffb76f718846d917259829ae4e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 23 Sep 2003 03:41:48 +0000 Subject: [PATCH] cleanup --- stepmania/src/GameState.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 63815872f8..c3e2b882b0 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -308,13 +308,10 @@ bool GameState::IsPlayable( const ModeChoice& mc ) // If the ModeChoice doesn't specify something, we'll take that // value from the current game state // - const PlayMode &rPlayMode = (mc.pm != PLAY_MODE_INVALID) - ? mc.pm : m_PlayMode; - const Style &rStyle = (mc.style != STYLE_INVALID) - ? mc.style : m_CurStyle; + const PlayMode &rPlayMode = mc.pm != PLAY_MODE_INVALID? mc.pm:m_PlayMode; + const Style &rStyle = mc.style != STYLE_INVALID? mc.style: m_CurStyle; // ModeChoice code sets numSidesJoinedToPlay properly iff style is set - const int numSidesJoined = (mc.style != STYLE_INVALID) - ? mc.numSidesJoinedToPlay : GAMESTATE->GetNumSidesJoined(); + const int numSidesJoined = mc.style != STYLE_INVALID? mc.numSidesJoinedToPlay:GAMESTATE->GetNumSidesJoined(); if ( numSidesJoined != GAMESTATE->GetNumSidesJoined() ) return false;