cleanup: actors generally shouldn't move themselves
This commit is contained in:
@@ -208,6 +208,15 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration )
|
||||
continue;
|
||||
|
||||
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 &&
|
||||
GAMESTATE->GetCurrentStyleDef()->m_NotesType == STYLE_DANCE_SINGLE &&
|
||||
GAMESTATE->GetNumSidesJoined() == 1 )
|
||||
fPlayerX = SCREEN_WIDTH/2;
|
||||
|
||||
m_Player[p].SetX( fPlayerX );
|
||||
this->AddChild( &m_Player[p] );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user