From fa69854e1f880672d973480d27747a916740e579 Mon Sep 17 00:00:00 2001 From: mr-russ <> Date: Sun, 9 Feb 2003 06:53:48 +0000 Subject: [PATCH] Fixed Bug #682838: Something wrong with scandinavia? (Update Seen Buildings when fog of war is turned off) --- src/map/map_fog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map/map_fog.cpp b/src/map/map_fog.cpp index 5b5b43cc4..58423a0e2 100644 --- a/src/map/map_fog.cpp +++ b/src/map/map_fog.cpp @@ -10,7 +10,8 @@ // /**@name map_fog.c - The map fog of war handling. */ // -// (c) Copyright 1999-2002 by Lutz Sammer and Vladi Shabanski +// (c) Copyright 1999-2003 by Lutz Sammer, Vladi Shabanski and +// Russell Smith // // FreeCraft is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published @@ -626,6 +627,7 @@ global void UpdateFogOfWarChange(void) TheMap.Visible[0][(x+y*w)/32] |= 1<<((x+y*w)%32); #endif MapMarkSeenTile( x,y ); + UnitsMarkSeen( x,y ); } } }