From cd713ebc71eae8fe8c8eb897c50977ffd16a8cf9 Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 5 Jun 2023 19:21:07 -0700 Subject: [PATCH] Fix regression: Showing teles in customloadquick This fixes a regression where main game teleporter icons (which would be target icons if flag 12 was on) would be rendered on the minimap after loading from a custom quicksave. This is because this was always enabled when loading from a custom quicksave, but the game didn't start rendering them until PR #898, which de-duplicated the minimap rendering code. The best fix here is to just not enable the teleporters when loading from custom quicksaves. --- desktop_version/src/Game.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 6646cc45..05dde775 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -5574,10 +5574,6 @@ void Game::customloadquick(const std::string& savfile) map.roomname_special = true; } } - - map.showteleporters = true; - if(obj.flags[12]) map.showtargets = true; - } struct Summary