summaryrefslogtreecommitdiff
path: root/src/heretic/sb_bar.c
diff options
context:
space:
mode:
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);