summaryrefslogtreecommitdiff
path: root/src/heretic/sb_bar.c
diff options
context:
space:
mode:
authorSimon Howard2008-10-30 02:10:50 +0000
committerSimon Howard2008-10-30 02:10:50 +0000
commit091f93809ee554571a6ed6145b8ac69f17814d91 (patch)
tree25e8e1f92ef66e95f5ab19f5d588562292a02785 /src/heretic/sb_bar.c
parent8c045b4bfee2e859f800f8fbd76f5ae3d5d3f435 (diff)
downloadchocolate-doom-091f93809ee554571a6ed6145b8ac69f17814d91.tar.gz
chocolate-doom-091f93809ee554571a6ed6145b8ac69f17814d91.tar.bz2
chocolate-doom-091f93809ee554571a6ed6145b8ac69f17814d91.zip
Factor out Heretic and Hexen versions of m_misc.c. Make -file for
Heretic and Hexen use WAD path lookup. Subversion-branch: /branches/raven-branch Subversion-revision: 1368
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 3fefe54f..e21fc1c2 100644
--- a/src/heretic/sb_bar.c
+++ b/src/heretic/sb_bar.c
@@ -1237,7 +1237,7 @@ static void CheatWarpFunc(player_t * player, Cheat_t * cheat)
episode = args[0] - '0';
map = args[1] - '0';
- if (M_ValidEpisodeMap(episode, map))
+ if (D_ValidEpisodeMap(gamemission, gamemode, episode, map))
{
G_DeferedInitNew(gameskill, episode, map);
P_SetMessage(player, TXT_CHEATWARP, false);