Revert "XXX: do not crash on exit"

This reverts commit 5da0cd0d01.
This commit is contained in:
Tim Felgentreff 2022-07-26 17:58:30 +02:00
parent c2b0dcf7ba
commit 83a0c3ccf2

View file

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