From 0d087fb198b99047c6362ca696201cbad58733b8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 17 Mar 2003 22:12:20 +0000 Subject: [PATCH] fix comparison; this happened to work because STYLE_DANCE_SINGLE and NOTES_TYPE_DANCE_SINGLE both happen to be 0 --- stepmania/src/ScreenGameplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index d6d66c31d7..dff93d5cac 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -236,7 +236,7 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration ) /* 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->m_CurStyle == STYLE_DANCE_SINGLE && GAMESTATE->GetNumSidesJoined() == 1 ) fPlayerX = SCREEN_WIDTH/2;