Skip to content

Commit

Permalink
Show power generator effects for all players.
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersphinx committed May 10, 2011
1 parent 7860181 commit adeacf6
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions src/display3d.c
Expand Up @@ -4526,23 +4526,13 @@ static void structureEffects()
{
UDWORD i;

/* Only do for player 0 power stations */

if(bMultiPlayer)
{
for(i=0;i<MAX_PLAYERS;i++)
{
if(isHumanPlayer(i) && apsStructLists[i] )
{
structureEffectsPlayer(i);
}

}
}
else if(apsStructLists[0])
for (i = 0; i < MAX_PLAYERS; i++)
{
if (apsStructLists[i])
{
structureEffectsPlayer(0);
structureEffectsPlayer(i);
}
}
}

/// Show the sensor ranges of selected droids and buildings
Expand Down

0 comments on commit adeacf6

Please sign in to comment.