XXX: do not crash on exit

This commit is contained in:
Tim Felgentreff 2022-06-28 21:38:25 +02:00
parent beab00da26
commit 13b20e1080

View file

@ -501,7 +501,7 @@ void CMinimap::Destroy()
MinimapSurface = NULL;
}
if (MinimapFogSurface && MinimapFogSurface->format != NULL) {
SDL_FreeSurface(MinimapFogSurface);
// SDL_FreeSurface(MinimapFogSurface);
MinimapSurface = NULL;
}
delete[] Minimap2MapX;