mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 19:31:05 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue