diff options
author | Simon Howard | 2014-02-20 06:03:18 +0000 |
---|---|---|
committer | Simon Howard | 2014-02-20 06:03:18 +0000 |
commit | dc57eb0844fea8fd444281453b25f43ab7007a22 (patch) | |
tree | 43faeb6e3835a47ae4d1af31824370aa5ea82d7b /src/doom/doomstat.h | |
parent | 2ec58cfa8becc461bf749e0009f150b1841aba6b (diff) | |
download | chocolate-doom-dc57eb0844fea8fd444281453b25f43ab7007a22.tar.gz chocolate-doom-dc57eb0844fea8fd444281453b25f43ab7007a22.tar.bz2 chocolate-doom-dc57eb0844fea8fd444281453b25f43ab7007a22.zip |
Add BFG edition workaround for options menu crash.
The BFG edition IWADs have their M_GDHIGH lumps changed to say
"Fullscreen:" instead of just "high". This breaks the options menu
which assumes a graphic that is not as wide.
In the same spirit as the title screen workaround, add a workaround
for this as well: use the message "on/off" graphics instead when we
are running using a BFG edition IWAD.
This fixes #341 (thanks Fabian Greffrath).
Diffstat (limited to 'src/doom/doomstat.h')
-rw-r--r-- | src/doom/doomstat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doom/doomstat.h b/src/doom/doomstat.h index 9e09bb42..bb203e0d 100644 --- a/src/doom/doomstat.h +++ b/src/doom/doomstat.h @@ -66,6 +66,9 @@ extern GameMission_t gamemission; extern GameVersion_t gameversion; extern char *gamedescription; +// If true, we're using one of the mangled BFG edition IWADs. +extern boolean bfgedition; + // Convenience macro. // 'gamemission' can be equal to pack_chex or pack_hacx, but these are // just modified versions of doom and doom2, and should be interpreted |