Solo single for all ONE_PLAYER_ONE_CREDIT game types
This commit is contained in:
@@ -236,12 +236,8 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration ) : Screen("ScreenGameplay")
|
|||||||
|
|
||||||
float fPlayerX = (float) GAMESTATE->GetCurrentStyleDef()->m_iCenterX[p];
|
float fPlayerX = (float) GAMESTATE->GetCurrentStyleDef()->m_iCenterX[p];
|
||||||
|
|
||||||
// If solo-single is enabled..
|
|
||||||
/* XXX: Maybe this should be enabled for all ONE_PLAYER_ONE_CREDIT modes.
|
|
||||||
* I don't feel like testing that right now, though. */
|
|
||||||
if( PREFSMAN->m_bSoloSingle &&
|
if( PREFSMAN->m_bSoloSingle &&
|
||||||
GAMESTATE->m_CurStyle == STYLE_DANCE_SINGLE &&
|
GAMESTATE->GetCurrentStyleDef()->m_StyleType == StyleDef::ONE_PLAYER_ONE_CREDIT )
|
||||||
GAMESTATE->GetNumSidesJoined() == 1 )
|
|
||||||
fPlayerX = SCREEN_WIDTH/2;
|
fPlayerX = SCREEN_WIDTH/2;
|
||||||
|
|
||||||
m_Player[p].SetX( fPlayerX );
|
m_Player[p].SetX( fPlayerX );
|
||||||
|
|||||||
Reference in New Issue
Block a user