mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- added Demolisher's APROP_Waterlevel patch.
SVN r2986 (trunk)
This commit is contained in:
parent
efe70a0799
commit
b771426ea2
1 changed files with 3 additions and 1 deletions
|
@ -2536,7 +2536,8 @@ enum
|
|||
APROP_DamageFactor = 24,
|
||||
APROP_MasterTID = 25,
|
||||
APROP_TargetTID = 26,
|
||||
APROP_TracerTID = 27
|
||||
APROP_TracerTID = 27,
|
||||
APROP_WaterLevel = 28
|
||||
};
|
||||
|
||||
// These are needed for ACS's APROP_RenderStyle
|
||||
|
@ -2778,6 +2779,7 @@ int DLevelScript::GetActorProperty (int tid, int property)
|
|||
case APROP_MasterTID: return DoGetMasterTID (actor);
|
||||
case APROP_TargetTID: return (actor->target != NULL)? actor->target->tid : 0;
|
||||
case APROP_TracerTID: return (actor->tracer != NULL)? actor->tracer->tid : 0;
|
||||
case APROP_WaterLevel: return actor->waterlevel;
|
||||
default: return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue