- floatified the last remaining AActor member variable 'damagemultiply'.

This commit is contained in:
Christoph Oelckers 2016-03-25 16:30:31 +01:00
commit 2cf3b20ea8
4 changed files with 6 additions and 6 deletions

View file

@ -410,7 +410,7 @@ void AActor::Serialize(FArchive &arc)
}
else
{
DamageMultiply = FRACUNIT;
DamageMultiply = 1.;
}
arc << WeaveIndexXY << WeaveIndexZ
<< PoisonDamageReceived << PoisonDurationReceived << PoisonPeriodReceived << Poisoner
@ -4180,7 +4180,7 @@ AActor *AActor::StaticSpawn (PClassActor *type, const DVector3 &pos, replace_t a
actor->touching_sectorlist = NULL; // NULL head of sector list // phares 3/13/98
if (G_SkillProperty(SKILLP_FastMonsters) && actor->GetClass()->FastSpeed >= 0)
actor->Speed = actor->GetClass()->FastSpeed;
actor->DamageMultiply = FRACUNIT;
actor->DamageMultiply = 1.;
// set subsector and/or block links
actor->LinkToWorld (SpawningMapThing);