mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-27 22:42:29 +00:00
- Changed: DEHACKED parsing is disabled now when a user supplied DEHSUPP lump
is found. This mimics the old behavior which also disabled DEHACKED when the DEHSUPP lump was incompatible with the current engine. This behavior is needed to ensure that WADs that contain a ZDaemon-exclusive DEHSUPP lump continue to work as intended. SVN r1748 (trunk)
This commit is contained in:
parent
356e4a0fcc
commit
54c4e26f7d
2 changed files with 15 additions and 3 deletions
|
@ -1,4 +1,9 @@
|
|||
August 2, 2009 (Changes by Graf Zahl)
|
||||
- Changed: DEHACKED parsing is disabled now when a user supplied DEHSUPP lump
|
||||
is found. This mimics the old behavior which also disabled DEHACKED when
|
||||
the DEHSUPP lump was incompatible with the current engine. This behavior is
|
||||
needed to ensure that WADs that contain a ZDaemon-exclusive DEHSUPP lump
|
||||
continue to work as intended.
|
||||
- Added A_Mushroom compatibility option for Dehacked.
|
||||
- Added Gez's submission for interhubamount DECORATE property.
|
||||
- Fixed: The big endian version of PalEntry did not add the DWORD d field.
|
||||
|
|
|
@ -2258,15 +2258,22 @@ static bool LoadDehSupp ()
|
|||
{
|
||||
// Make sure we only get the DEHSUPP lump from zdoom.pk3
|
||||
// User modifications are not supported!
|
||||
int lump = Wads.CheckNumForFullName ("dehsupp.txt", 0);
|
||||
bool gotnames = false;
|
||||
int i;
|
||||
int lump = Wads.CheckNumForName("DEHSUPP");
|
||||
|
||||
if (lump == -1)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Wads.GetLumpFile(lump) > 0)
|
||||
{
|
||||
Printf("Warning: DEHSUPP no longer supported. DEHACKED patch disabled.\n");
|
||||
return false;
|
||||
}
|
||||
bool gotnames = false;
|
||||
int i;
|
||||
|
||||
|
||||
if (++DehUseCount > 1)
|
||||
{
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue