- Fixed: A_Jump used a wrong index into the jump address table.
- Fixed: The recent changes in the DECORATE parser require the special parameter to A_CallSpecial to be an expression, not a constant. - Removed game filters from old style decorations. No WAD in existence ever used them and removing them allows to make the parser more robust. SVN r1170 (trunk)
This commit is contained in:
parent
f3922ec6a1
commit
61cbb1d2e1
10 changed files with 73 additions and 4 deletions
|
|
@ -244,6 +244,10 @@ void ParseOldDecoration(FScanner &sc, EDefinitionType def)
|
|||
info->GameFilter = 0x80;
|
||||
MakeStateDefines(parent->ActorInfo->StateList);
|
||||
|
||||
// There isn't a single WAD out there which uses game filters with old style
|
||||
// decorations so this may as well be disabled. Without this option is is much
|
||||
// easier to detect incorrect declarations
|
||||
#if 0
|
||||
sc.MustGetString ();
|
||||
while (!sc.Compare ("{"))
|
||||
{
|
||||
|
|
@ -295,6 +299,10 @@ void ParseOldDecoration(FScanner &sc, EDefinitionType def)
|
|||
{
|
||||
info->GameFilter &= ~0x80;
|
||||
}
|
||||
#else
|
||||
info->GameFilter = GAME_Any;
|
||||
sc.MustGetStringName("{");
|
||||
#endif
|
||||
|
||||
states.Clear ();
|
||||
memset (&extra, 0, sizeof(extra));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue