- Fixed: Specifying 'strifefallingdamage' in MAPINFO cleared all other flags.
- Fixed: maxstepheight and maxdropoffheight were stored as ints instead of fixed_t's by the DECORATE parser. SVN r239 (trunk)
This commit is contained in:
parent
6695e255ce
commit
5541dc69f1
3 changed files with 8 additions and 3 deletions
|
|
@ -2986,7 +2986,7 @@ static void ActorDecal (AActor *defaults, Baggage &bag)
|
|||
static void ActorMaxStepHeight (AActor *defaults, Baggage &bag)
|
||||
{
|
||||
SC_MustGetNumber ();
|
||||
defaults->MaxStepHeight=sc_Number;
|
||||
defaults->MaxStepHeight=sc_Number * FRACUNIT;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
@ -2995,7 +2995,7 @@ static void ActorMaxStepHeight (AActor *defaults, Baggage &bag)
|
|||
static void ActorMaxDropoffHeight (AActor *defaults, Baggage &bag)
|
||||
{
|
||||
SC_MustGetNumber ();
|
||||
defaults->MaxDropOffHeight=sc_Number;
|
||||
defaults->MaxDropOffHeight=sc_Number * FRACUNIT;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue