diff options
Diffstat (limited to 'src/heretic/sb_bar.c')
-rw-r--r-- | src/heretic/sb_bar.c | 2 |
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); |