Fixed map size with big map mode

This commit is contained in:
jsalmon3 2004-05-23 19:46:30 +00:00
parent 669300d4a4
commit 8c7767cc4b

View file

@ -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);