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-861f7616d084master
parent
a95fd43c19
commit
cc314a18a2
|
@ -38,6 +38,7 @@
|
||||||
#include "lib/sound/audio_id.h"
|
#include "lib/sound/audio_id.h"
|
||||||
#include "lib/sound/audio.h"
|
#include "lib/sound/audio.h"
|
||||||
#include "radar.h"
|
#include "radar.h"
|
||||||
|
#include "main.h"
|
||||||
|
|
||||||
/* Alex McLean, Pumpkin Studios, EIDOS Interactive */
|
/* Alex McLean, Pumpkin Studios, EIDOS Interactive */
|
||||||
|
|
||||||
|
@ -415,7 +416,8 @@ void flushConsoleMessages( void )
|
||||||
type and whether source and destination players are in alliance. */
|
type and whether source and destination players are in alliance. */
|
||||||
CONSOLE_TEXT_TYPE pickConsolePlayerTextType(UDWORD player1, UDWORD player2)
|
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))
|
if(aiCheckAlliances(player1,player2))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue