diff options
Diffstat (limited to 'src/heretic/am_map.c')
-rw-r--r-- | src/heretic/am_map.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/heretic/am_map.c b/src/heretic/am_map.c index 923c4fbd..ec003c0f 100644 --- a/src/heretic/am_map.c +++ b/src/heretic/am_map.c @@ -1453,6 +1453,8 @@ void AM_drawCrosshair(int color) void AM_Drawer(void) { + int numepisodes; + if (!automapactive) return; @@ -1471,7 +1473,17 @@ void AM_Drawer(void) { AM_drawkeys(); } - if ((gameepisode < (ExtendedWAD ? 6 : 4)) && gamemap < 10) + + if (gamemode == retail) + { + numepisodes = 5; + } + else + { + numepisodes = 3; + } + + if (gameepisode <= numepisodes && gamemap < 10) { MN_DrTextA(LevelNames[(gameepisode - 1) * 9 + gamemap - 1], 20, 145); } |