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:
parent
8d9b616f00
commit
805784a175
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue