Fixed bug when editting 1024x1024 map then 992x992.

This commit is contained in:
jsalmon3 2003-02-24 01:59:09 +00:00
parent f7a29441d0
commit 6867950765

View file

@ -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));
}
/**