- Fixed: A_Explode should always perform the distance <= 0 check, not just when damage < 0.

SVN r3914 (scripting)
This commit is contained in:
Randy Heit 2012-10-27 02:13:53 +00:00
parent 7171281507
commit e6b150bab9

View file

@ -868,10 +868,8 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Explode)
flags = !self->GetClass()->DontHurtShooter;
alert = false;
}
else
{
if (distance <= 0) distance = damage;
}
// NailBomb effect, from SMMU but not from its source code: instead it was implemented and
// generalized from the documentation at http://www.doomworld.com/eternity/engine/codeptrs.html