diff options
author | Simon Howard | 2008-09-25 20:00:31 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-25 20:00:31 +0000 |
commit | b05a3f9448a690bf1d6805ed20081227921f64d9 (patch) | |
tree | 962ed1be7fd32614e8d765aa3396cf2dea93c3a8 /src/heretic/am_map.c | |
parent | 9ba60f243d1ae1ab14ba28eac92fca7b5891801a (diff) | |
download | chocolate-doom-b05a3f9448a690bf1d6805ed20081227921f64d9.tar.gz chocolate-doom-b05a3f9448a690bf1d6805ed20081227921f64d9.tar.bz2 chocolate-doom-b05a3f9448a690bf1d6805ed20081227921f64d9.zip |
Remove ExtendedWAD variable; use gamemode == retail.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1286
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); } |