From 5416d5ced6001f3438da6827cdee053af7859515 Mon Sep 17 00:00:00 2001
From: johns <>
Date: Wed, 28 Feb 2001 22:56:15 +0000
Subject: [PATCH] Fixed compilation without #define NEW_MAPDRAW.

---
 src/map/map_fog.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/map/map_fog.cpp b/src/map/map_fog.cpp
index 2b43663d6..d6420ff60 100644
--- a/src/map/map_fog.cpp
+++ b/src/map/map_fog.cpp
@@ -314,8 +314,12 @@ global void MapUpdateFogOfWar(int x,int y)
 	    vis=TheMap.Fields[sx].Flags&MapFieldVisible;
 #endif
 	    if( vis && (!last || last&MapFieldPartiallyVisible) ) {
+#ifdef NEW_MAPDRAW
 		*redraw_row=NEW_MAPDRAW;
 		*redraw_tile=NEW_MAPDRAW;
+#else
+		*redraw_row=*redraw_tile=1;
+#endif
 	    }
 
 	    ++redraw_tile;