From 1c5530530dbb5dd3648d0a2e3fdc399ace59f682 Mon Sep 17 00:00:00 2001 From: Aaron VonderHaar Date: Mon, 8 Sep 2003 01:38:19 +0000 Subject: [PATCH] Ignore SoloSingles in Battle/Rave mode (ie, when playing against a computer opponent) --- stepmania/src/ScreenGameplay.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 00c3eba717..bdaba6e609 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -254,7 +254,13 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration ) : Screen("ScreenGameplay") float fPlayerX = (float) GAMESTATE->GetCurrentStyleDef()->m_iCenterX[p]; + /* Perhaps this should be handled better by defining a new + * StyleType for ONE_PLAYER_ONE_CREDIT_AND_ONE_COMPUTER, + * but for now just ignore SoloSingles when it's Battle or Rave + * Mode. This doesn't begin to address two-player solo (6 arrows) */ if( PREFSMAN->m_bSoloSingle && + GAMESTATE->m_PlayMode != PLAY_MODE_BATTLE && + GAMESTATE->m_PlayMode != PLAY_MODE_RAVE && GAMESTATE->GetCurrentStyleDef()->m_StyleType == StyleDef::ONE_PLAYER_ONE_CREDIT ) fPlayerX = SCREEN_WIDTH/2;