From a5a1fe4c7107d95bff0cdfd700cf157a7392ad20 Mon Sep 17 00:00:00 2001
From: mr-russ <>
Date: Fri, 21 Feb 2003 00:53:06 +0000
Subject: [PATCH] Allow NEW_MAPDRAW to compile

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

diff --git a/src/map/map_draw.cpp b/src/map/map_draw.cpp
index afa1f8346..78f1b5e5c 100644
--- a/src/map/map_draw.cpp
+++ b/src/map/map_draw.cpp
@@ -1547,10 +1547,10 @@ global void MarkDrawEntireMap(void)
 #ifdef NEW_MAPDRAW
     int i;
 
-    for( i=0; i<MapHeight; ++i ) {
+    for( i=0; i<TheMap.Height; ++i ) {
 	MustRedrawRow[i]=1;
     }
-    for( i=0; i<MapHeight*MapWidth; ++i ) {
+    for( i=0; i<TheMap.Height*TheMap.Width; ++i ) {
 	MustRedrawTile[i]=1;
     }
 #endif