- added selfdamagefactor actor property.

This commit is contained in:
Christoph Oelckers 2017-02-27 11:22:51 +01:00
commit f9f9f2d5fc
5 changed files with 19 additions and 0 deletions

View file

@ -257,6 +257,7 @@ PClassActor::PClassActor()
WoundHealth = 6;
FastSpeed = -1.;
RDFactor = 1.;
SelfDamageFactor = 1.;
CameraHeight = INT_MIN;
DropItems = NULL;
@ -317,6 +318,7 @@ void PClassActor::DeriveData(PClass *newclass)
newa->WoundHealth = WoundHealth;
newa->FastSpeed = FastSpeed;
newa->RDFactor = RDFactor;
newa->SelfDamageFactor = SelfDamageFactor;
newa->CameraHeight = CameraHeight;
newa->HowlSound = HowlSound;
newa->BloodType = BloodType;