mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 16:07:40 +00:00
- Fixed: A_Explode should always perform the distance <= 0 check, not just when damage < 0.
SVN r3914 (scripting)
This commit is contained in:
parent
7171281507
commit
e6b150bab9
1 changed files with 2 additions and 4 deletions
|
@ -868,10 +868,8 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Explode)
|
|||
flags = !self->GetClass()->DontHurtShooter;
|
||||
alert = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (distance <= 0) distance = damage;
|
||||
}
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue