mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
FlatAngle can now be defined directly via properties.
This commit is contained in:
parent
3ed9551054
commit
f41dcc75d1
2 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//==========================================================================
|
||||
|
|
|
@ -35,6 +35,7 @@ ACTOR Actor native //: Thinker
|
|||
BloodType "Blood", "BloodSplatter", "AxeBlood"
|
||||
ExplosionDamage 128
|
||||
MissileHeight 32
|
||||
FlatAngle 0
|
||||
|
||||
|
||||
// Functions
|
||||
|
|
Loading…
Reference in a new issue