From 615c8d1eb9a91533d03db871001f816050d32eb7 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 19 Jun 2022 01:42:35 +0200 Subject: [PATCH] Unload mega tiles after generating town --- Source/town.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/town.cpp b/Source/town.cpp index 38d2ff26b..da8995f62 100644 --- a/Source/town.cpp +++ b/Source/town.cpp @@ -345,6 +345,7 @@ void CreateTown(lvl_entry entry) } DrlgTPass3(); + pMegaTiles = nullptr; } } // namespace devilution