From cc314a18a2eb81b2f73e24405e54a9daed352a07 Mon Sep 17 00:00:00 2001 From: Roman C Date: Mon, 24 Mar 2008 16:29:45 +0000 Subject: [PATCH] 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 --- src/console.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/console.c b/src/console.c index 6e49d7103..7135fae5b 100644 --- a/src/console.c +++ b/src/console.c @@ -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)) {