From 48e96443151db631e1153d459e850c49a96ccb29 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 19 Apr 2014 03:32:38 -0400 Subject: Exit with error on startup if using the wrong IWAD. Having multiple binaries can cause some confusion - some users try to run chocolate-doom with hexen.wad, thinking it is supported. Add a startup check that makes sure the user is not trying to start the game using the wrong IWAD file for the binary being run. This fixes #382. --- src/d_mode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/d_mode.h') diff --git a/src/d_mode.h b/src/d_mode.h index dedcdf88..e73d40c0 100644 --- a/src/d_mode.h +++ b/src/d_mode.h @@ -100,6 +100,7 @@ boolean D_ValidEpisodeMap(GameMission_t mission, GameMode_t mode, int episode, int map); int D_GetNumEpisodes(GameMission_t mission, GameMode_t mode); boolean D_IsEpisodeMap(GameMission_t mission); +char *D_GameMissionString(GameMission_t mission); #endif /* #ifndef __D_MODE__ */ -- cgit v1.2.3