Fixed bug when editting 1024x1024 map then 992x992.
This commit is contained in:
parent
f7a29441d0
commit
6867950765
1 changed files with 3 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue