- fixed: armor factor application was done wrong.
- fixed: APROP_Invulnerable could only be set and unset but not checked. - fixed: Two sided polyobjects applied thrust to sctors in a way that did not work. SVN r2620 (trunk)
This commit is contained in:
parent
7baeeeaab5
commit
5647fed0cf
3 changed files with 25 additions and 8 deletions
|
|
@ -2759,6 +2759,7 @@ int DLevelScript::GetActorProperty (int tid, int property)
|
|||
// so pretends it's normal.
|
||||
return STYLE_Normal;
|
||||
case APROP_Gravity: return actor->gravity;
|
||||
case APROP_Invulnerable:return !!(actor->flags2 & MF2_INVULNERABLE);
|
||||
case APROP_Ambush: return !!(actor->flags & MF_AMBUSH);
|
||||
case APROP_Dropped: return !!(actor->flags & MF_DROPPED);
|
||||
case APROP_ChaseGoal: return !!(actor->flags5 & MF5_CHASEGOAL);
|
||||
|
|
@ -2820,6 +2821,7 @@ int DLevelScript::CheckActorProperty (int tid, int property, int value)
|
|||
|
||||
// Boolean values need to compare to a binary version of value
|
||||
case APROP_Ambush:
|
||||
case APROP_Invulnerable:
|
||||
case APROP_Dropped:
|
||||
case APROP_ChaseGoal:
|
||||
case APROP_Frightened:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue