mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- changed ACS parameter truncation for Hexen so that it's only done for ACS_Old format.
SVN r3497 (trunk)
This commit is contained in:
parent
d64ca20b31
commit
10c783dde2
1 changed files with 2 additions and 2 deletions
|
@ -4007,8 +4007,8 @@ int DLevelScript::RunScript ()
|
|||
FRemapTable *translation = 0;
|
||||
int resultValue = 1;
|
||||
|
||||
// Hexen truncates all special arguments to bytes.
|
||||
const int specialargmask = (level.flags2 & LEVEL2_HEXENHACK) ? 255 : ~0;
|
||||
// Hexen truncates all special arguments to bytes (only when using an old MAPINFO and old ACS format
|
||||
const int specialargmask = ((level.flags2 & LEVEL2_HEXENHACK) && activeBehavior->GetFormat() == ACS_Old) ? 255 : ~0;
|
||||
|
||||
switch (state)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue