Fix fog debug messages that said the opposite of what they meant.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3074 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2007-12-16 15:15:01 +00:00
parent 79a8dec64d
commit 2ff8addf56
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,7 @@ static BOOL bRevealActive = FALSE;
// ------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------
void avSetStatus(BOOL var) void avSetStatus(BOOL var)
{ {
debug(LOG_FOG, "avSetStatus: Setting visual fog %s", var ? "ON" : "OFF"); debug(LOG_FOG, "avSetStatus: Setting fog of war %s", var ? "ON" : "OFF");
bRevealActive = var; bRevealActive = var;
} }

View File

@ -144,7 +144,8 @@ UDWORD war_GetHeight(void)
/***************************************************************************/ /***************************************************************************/
void war_SetFog(BOOL val) void war_SetFog(BOOL val)
{ {
debug(LOG_FOG, "Fog of war turned %s", val ? "ON" : "OFF"); debug(LOG_FOG, "Visual fog turned %s", val ? "ON" : "OFF");
if (warGlobs.bFog != val) if (warGlobs.bFog != val)
{ {
warGlobs.bFog = val; warGlobs.bFog = val;