From 8c7767cc4bb6b7310a1b77846bfddf901fbfebbf Mon Sep 17 00:00:00 2001
From: jsalmon3 <>
Date: Sun, 23 May 2004 19:46:30 +0000
Subject: [PATCH] Fixed map size with big map mode

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

diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp
index aed4e842b..e8bbae4a3 100644
--- a/src/ui/interface.cpp
+++ b/src/ui/interface.cpp
@@ -456,8 +456,8 @@ local void UiToggleBigMap(void)
 
 		TheUI.MapArea.X = 0;
 		TheUI.MapArea.Y = 0;
-		TheUI.MapArea.EndX = ((VideoWidth / TileSizeX) * TileSizeX) - 1;
-		TheUI.MapArea.EndY = ((VideoHeight / TileSizeY) * TileSizeY) - 1;
+		TheUI.MapArea.EndX = VideoWidth - 1;
+		TheUI.MapArea.EndY = VideoHeight - 1;
 
 		SetViewportMode(TheUI.ViewportMode);