diff options
author | Fabian Greffrath | 2014-02-24 07:20:49 +0100 |
---|---|---|
committer | Fabian Greffrath | 2014-02-24 07:20:49 +0100 |
commit | 79f8427436cf2da7de710e9046f2e01dc6c8b17e (patch) | |
tree | 2fe58f26879c5b5cf90a9ddfd479ff660a875311 /src/doom/m_random.h | |
parent | dc57eb0844fea8fd444281453b25f43ab7007a22 (diff) | |
download | chocolate-doom-79f8427436cf2da7de710e9046f2e01dc6c8b17e.tar.gz chocolate-doom-79f8427436cf2da7de710e9046f2e01dc6c8b17e.tar.bz2 chocolate-doom-79f8427436cf2da7de710e9046f2e01dc6c8b17e.zip |
More robust checks for BFG Edition.
1) Move the check for (bfgedition) right behind loading the IWAD, i.e.
before any PWADs are loaded that could probably provide a DMENUPIC lump.
2) Instead of checking for a missing TITLEPIC lump (which is only true
for the doom2.wad shipped with the BFG Edition) check for the presence
of DMENUPIC (which is exclusive to both classic IWADs shipped with the
BFG Edition). The M_GDHIGH lumps, however, are incompatibly modified
in *both* IWADs.
3) Move the check for the missing TITLEPIC lump to the place where it
becomes actually crucial, i.e. D_DoAdvanceDemo() and make it independent
of the (bfgedition) check. So, PWADs still have a chance to provide their
own TITLEPIC lump.
Diffstat (limited to 'src/doom/m_random.h')
0 files changed, 0 insertions, 0 deletions