XXX: do not crash on exit

This commit is contained in:
Tim Felgentreff 2022-06-27 10:13:51 +02:00
parent 6b7afed5e7
commit 5da0cd0d01

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;