- added StealthAlpha actor property for defining a minimum visibility value of a stealth monster.

This commit is contained in:
Christoph Oelckers 2017-02-27 19:46:27 +01:00
commit 321c846d01
4 changed files with 16 additions and 2 deletions

View file

@ -258,6 +258,7 @@ PClassActor::PClassActor()
FastSpeed = -1.;
RDFactor = 1.;
SelfDamageFactor = 1.;
StealthAlpha = 0.;
CameraHeight = INT_MIN;
DropItems = NULL;
@ -319,6 +320,7 @@ void PClassActor::DeriveData(PClass *newclass)
newa->FastSpeed = FastSpeed;
newa->RDFactor = RDFactor;
newa->SelfDamageFactor = SelfDamageFactor;
newa->StealthAlpha = StealthAlpha;
newa->CameraHeight = CameraHeight;
newa->HowlSound = HowlSound;
newa->BloodType = BloodType;