From 7241db5446fc08ec7f96a7cdf1022ca9ec219a57 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 15 Oct 2013 01:36:49 +0000 Subject: Remove gamemission variables for Heretic and Hexen and hard-code to the appropriate values. Subversion-branch: /branches/v2-branch Subversion-revision: 2708 --- src/heretic/sb_bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/heretic/sb_bar.c') 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); -- cgit v1.2.3