summaryrefslogtreecommitdiff
path: root/src/heretic/sb_bar.c
diff options
context:
space:
mode:
authorSimon Howard2013-10-15 01:36:49 +0000
committerSimon Howard2013-10-15 01:36:49 +0000
commit7241db5446fc08ec7f96a7cdf1022ca9ec219a57 (patch)
tree4f6ead21b24247af2feb7c2e6ec280c3ebab98e6 /src/heretic/sb_bar.c
parent5c02df23669063ca28bbfc64e0519216ab7fe1ca (diff)
downloadchocolate-doom-7241db5446fc08ec7f96a7cdf1022ca9ec219a57.tar.gz
chocolate-doom-7241db5446fc08ec7f96a7cdf1022ca9ec219a57.tar.bz2
chocolate-doom-7241db5446fc08ec7f96a7cdf1022ca9ec219a57.zip
Remove gamemission variables for Heretic and Hexen and hard-code to the
appropriate values. Subversion-branch: /branches/v2-branch Subversion-revision: 2708
Diffstat (limited to 'src/heretic/sb_bar.c')
-rw-r--r--src/heretic/sb_bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/sb_bar.c b/src/heretic/sb_bar.c
index 03ec453d..4db3094b 100644
--- a/src/heretic/sb_bar.c
+++ b/src/heretic/sb_bar.c
@@ -1241,7 +1241,7 @@ static void CheatWarpFunc(player_t * player, Cheat_t * cheat)
episode = args[0] - '0';
map = args[1] - '0';
- if (D_ValidEpisodeMap(gamemission, gamemode, episode, map))
+ if (D_ValidEpisodeMap(heretic, gamemode, episode, map))
{
G_DeferedInitNew(gameskill, episode, map);
P_SetMessage(player, DEH_String(TXT_CHEATWARP), false);