From 68679507653e49f0095dfe23cfd7f7a9165efa57 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Mon, 24 Feb 2003 01:59:09 +0000 Subject: [PATCH] Fixed bug when editting 1024x1024 map then 992x992. --- src/map/minimap.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map/minimap.cpp b/src/map/minimap.cpp index 8e0a9a178..187ba123d 100644 --- a/src/map/minimap.cpp +++ b/src/map/minimap.cpp @@ -10,7 +10,7 @@ // /**@name minimap.c - The minimap. */ // -// (c) Copyright 1998-2002 by Lutz Sammer +// (c) Copyright 1998-2003 by Lutz Sammer // // FreeCraft is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published @@ -207,6 +207,8 @@ global void DestroyMinimap(void) { VideoSaveFree(MinimapGraphic); MinimapGraphic=NULL; + memset(Minimap2MapX,0,MINIMAP_W*sizeof(int)); + memset(Minimap2MapY,0,MINIMAP_H*sizeof(int)); } /**