summaryrefslogtreecommitdiff
path: root/src/heretic/d_main.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/d_main.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/d_main.c')
-rw-r--r--src/heretic/d_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c
index d43c4994..6af7dda1 100644
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -61,7 +61,6 @@
#define STARTUP_WINDOW_X 17
#define STARTUP_WINDOW_Y 7
-GameMission_t gamemission = heretic;
GameMode_t gamemode = indetermined;
char *gamedescription = "unknown";
@@ -805,6 +804,7 @@ static void D_Endoom(void)
void D_DoomMain(void)
{
+ GameMission_t gamemission;
int p;
char file[256];
@@ -1160,7 +1160,7 @@ void D_DoomMain(void)
// Check valid episode and map
if (autostart || netgame)
{
- if (!D_ValidEpisodeMap(gamemission, gamemode, startepisode, startmap))
+ if (!D_ValidEpisodeMap(heretic, gamemode, startepisode, startmap))
{
startepisode = 1;
startmap = 1;