Fix double-free of minimap textures

This commit is contained in:
sfan5 2023-09-13 15:27:07 +02:00
parent 033128d8dc
commit 2479d51cc6

@ -248,9 +248,6 @@ Minimap::~Minimap()
driver->removeTexture(data->texture);
driver->removeTexture(data->heightmap_texture);
driver->removeTexture(data->minimap_overlay_round);
driver->removeTexture(data->minimap_overlay_square);
driver->removeTexture(data->object_marker_red);
for (MinimapMarker *m : m_markers)
delete m;