- 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:
Christoph Oelckers 2006-07-08 20:17:52 +00:00
commit 5541dc69f1
3 changed files with 8 additions and 3 deletions

View file

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