From 31f2d31735c314c726856e44cd8953ab25e2021c Mon Sep 17 00:00:00 2001
From: johns <>
Date: Tue, 13 Mar 2001 22:43:10 +0000
Subject: [PATCH] Fixed bug: DrawMapFogOfWar draws a row and column too much.

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

diff --git a/src/map/map_fog.cpp b/src/map/map_fog.cpp
index d6420ff60..e0b6f1f99 100644
--- a/src/map/map_fog.cpp
+++ b/src/map/map_fog.cpp
@@ -1521,7 +1521,7 @@ global void DrawMapFogOfWar(int x,int y)
     dy=TheUI.MapY;
     ey=TheUI.MapEndY;
 
-    while( dy<=ey ) {
+    while( dy<ey ) {
 	if( *redraw_row ) {		// row must be redrawn
             #if NEW_MAPDRAW > 1
               (*redraw_row)--;
@@ -1531,7 +1531,7 @@ global void DrawMapFogOfWar(int x,int y)
 
 	    sx=x+sy;
 	    dx=TheUI.MapX;
-	    while( dx<=ex ) {
+	    while( dx<ex ) {
 		if( *redraw_tile ) {
 #if NEW_MAPDRAW > 1
                   (*redraw_tile)--;