Made it possible for nojumpspin characters to juke the Minus into exposing itself by jumping over it slowly, allowing its vulnerability to be exploited.

This commit is contained in:
toasterbabe 2017-03-25 12:51:38 +00:00
parent 8d9b616f00
commit 805784a175
1 changed files with 1 additions and 1 deletions

View File

@ -4520,7 +4520,7 @@ void A_MinusDigging(mobj_t *actor)
// If we're close enough to our target, pop out of the ground
if (P_AproxDistance(actor->target->x-actor->x, actor->target->y-actor->y) < actor->radius
&& abs(actor->target->z - actor->z) < actor->height)
&& abs(actor->target->z - actor->z) < 2*actor->height)
P_SetMobjState(actor, actor->info->missilestate);
// Snap to ground