1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

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.
This commit is contained in:
Misa 2023-06-05 19:21:07 -07:00
parent 404204172c
commit cd713ebc71

View file

@ -5574,10 +5574,6 @@ void Game::customloadquick(const std::string& savfile)
map.roomname_special = true; map.roomname_special = true;
} }
} }
map.showteleporters = true;
if(obj.flags[12]) map.showtargets = true;
} }
struct Summary struct Summary