Don't use friend-foe console text colors for the lobby.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4309 4a71c877-e1ca-e34f-864e-861f7616d084
master
Roman C 2008-03-24 16:29:45 +00:00
parent a95fd43c19
commit cc314a18a2
1 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@
#include "lib/sound/audio_id.h"
#include "lib/sound/audio.h"
#include "radar.h"
#include "main.h"
/* Alex McLean, Pumpkin Studios, EIDOS Interactive */
@ -415,7 +416,8 @@ void flushConsoleMessages( void )
type and whether source and destination players are in alliance. */
CONSOLE_TEXT_TYPE pickConsolePlayerTextType(UDWORD player1, UDWORD player2)
{
if(bEnemyAllyRadarColor)
// don't use friend-foe colors in the lobby
if(bEnemyAllyRadarColor && (GetGameMode() == GS_NORMAL))
{
if(aiCheckAlliances(player1,player2))
{