XXX: do not crash on exit
This commit is contained in:
parent
beab00da26
commit
13b20e1080
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