- fixed: Auto-COMPAT_SHORTTEX for IWADs must be set per IWAD, not in general

for Doom.
- added autodetection of Harmony's IWAD.


SVN r2022 (trunk)
This commit is contained in:
Christoph Oelckers 2009-12-11 09:21:08 +00:00
commit 2fb2c79887
5 changed files with 25 additions and 7 deletions

View file

@ -196,7 +196,7 @@ void CheckCompatibility(MapData *map)
FCompatValues *flags;
// When playing Doom IWAD levels force COMPAT_SHORTTEX.
if (Wads.GetLumpFile(map->lumpnum) == 1 && gameinfo.gametype == GAME_Doom && !(level.flags & LEVEL_HEXENFORMAT))
if (Wads.GetLumpFile(map->lumpnum) == 1 && (gameinfo.flags & GI_COMPATSHORTTEX) && !(level.flags & LEVEL_HEXENFORMAT))
{
ii_compatflags = COMPATF_SHORTTEX;
ib_compatflags = 0;