FlatAngle can now be defined directly via properties.

This commit is contained in:
MajorCooke 2016-05-01 16:33:00 -05:00
parent 3ed9551054
commit f41dcc75d1
2 changed files with 10 additions and 0 deletions

View file

@ -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;
}
//==========================================================================
//
//==========================================================================

View file

@ -35,6 +35,7 @@ ACTOR Actor native //: Thinker
BloodType "Blood", "BloodSplatter", "AxeBlood"
ExplosionDamage 128
MissileHeight 32
FlatAngle 0
// Functions