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-861f7616d084master
parent
79a8dec64d
commit
2ff8addf56
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue