XXX: do not crash on exit
This commit is contained in:
parent
6b7afed5e7
commit
5da0cd0d01
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ void CMinimap::Destroy()
|
|||
MinimapSurface = NULL;
|
||||
}
|
||||
if (MinimapFogSurface && MinimapFogSurface->format != NULL) {
|
||||
SDL_FreeSurface(MinimapFogSurface);
|
||||
// SDL_FreeSurface(MinimapFogSurface);
|
||||
MinimapSurface = NULL;
|
||||
}
|
||||
delete[] Minimap2MapX;
|
||||
|
|
Loading…
Reference in a new issue