- made GetDeathHeight a virtual scripted function.

- made GetGibHealth a virtual scripted function.
- removed a few more native meta properties.
This commit is contained in:
Christoph Oelckers 2017-02-28 13:40:46 +01:00
commit 851984efe0
14 changed files with 80 additions and 115 deletions

View file

@ -251,10 +251,6 @@ PClassActor::PClassActor()
DamageFactors = NULL;
PainChances = NULL;
DeathHeight = -1;
BurnHeight = -1;
GibHealth = INT_MIN;
DropItems = NULL;
// Record this in the master list.
AllActorClasses.Push(this);
@ -301,11 +297,7 @@ void PClassActor::DeriveData(PClass *newclass)
newa->DefaultStateUsage = DefaultStateUsage;
newa->Obituary = Obituary;
newa->HitObituary = HitObituary;
newa->DeathHeight = DeathHeight;
newa->BurnHeight = BurnHeight;
newa->BloodColor = BloodColor;
newa->GibHealth = GibHealth;
newa->HowlSound = HowlSound;
newa->distancecheck = distancecheck;
newa->DropItems = DropItems;