diff --git a/src/thingdef/thingdef_properties.cpp b/src/thingdef/thingdef_properties.cpp index 3ec4c624d5..7bf72fc485 100644 --- a/src/thingdef/thingdef_properties.cpp +++ b/src/thingdef/thingdef_properties.cpp @@ -682,6 +682,15 @@ DEFINE_PROPERTY(scale, F, Actor) defaults->Scale.X = defaults->Scale.Y = id; } +//========================================================================== +// +//========================================================================== +DEFINE_PROPERTY(flatangle, F, Actor) +{ + PROP_DOUBLE_PARM(id, 0); + defaults->FlatAngle = id; +} + //========================================================================== // //========================================================================== diff --git a/wadsrc/static/actors/actor.txt b/wadsrc/static/actors/actor.txt index f47a1d87ac..8794debde9 100644 --- a/wadsrc/static/actors/actor.txt +++ b/wadsrc/static/actors/actor.txt @@ -35,6 +35,7 @@ ACTOR Actor native //: Thinker BloodType "Blood", "BloodSplatter", "AxeBlood" ExplosionDamage 128 MissileHeight 32 + FlatAngle 0 // Functions