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 ...)
This commit is contained in:
Glenn Maynard
2004-05-16 19:22:37 +00:00
parent a74f285719
commit f21244765b
+2 -2
View File
@@ -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 )