From f21244765b55c6c720d8bf5f642849a75365686c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 16 May 2004 19:22:37 +0000 Subject: [PATCH] fix SHOW_LIFE_METER_FOR_DISABLED_PLAYERS (the reason I didn't change all of these for()s is because it's easy to cause little obscure bugs ...) --- stepmania/src/ScreenGameplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 55d3f0e977..ed09c9ce27 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -408,9 +408,9 @@ void ScreenGameplay::Init() case PLAY_MODE_ONI: case PLAY_MODE_NONSTOP: case PLAY_MODE_ENDLESS: - FOREACH_EnabledPlayer(p) + FOREACH_PlayerNumber(p) { - if( !SHOW_LIFE_METER_FOR_DISABLED_PLAYERS ) + if( !GAMESTATE->IsPlayerEnabled(p) && !SHOW_LIFE_METER_FOR_DISABLED_PLAYERS ) continue; // skip switch( GAMESTATE->m_SongOptions.m_LifeType )