Draw minimap.png if it is mounted

This is a simple change - we draw minimap.png, instead of the generated
custom map, if it is a per-level mounted custom asset.

Custom levels have already been able to utilize minimap.png, but it was
limited - they could do gamemode(teleporter) in a script, and that would
show their customized minimap.png, but it's not like the player could
look at it during gameplay.

I would have done this earlier if I had figured out how to check if a
specific asset was mounted or not.
This commit is contained in:
Misa
2021-04-18 23:39:10 -07:00
committed by Ethan Lee
parent 186f36beea
commit 370e53f4d3
3 changed files with 13 additions and 1 deletions

View File

@@ -220,6 +220,7 @@ public:
#ifndef NO_CUSTOM_LEVELS
bool tiles1_mounted;
bool tiles2_mounted;
bool minimap_mounted;
#endif