Merge branch 'lenient_acz3' into 'master'

Make ACZ3 Boss damage while bouncing more lenient

See merge request STJr/SRB2Internal!375
This commit is contained in:
MascaraSnake 2019-10-13 11:08:26 -04:00
commit 9bdb38df64
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|| special->state == &states[S_FANG_BOUNCE4]
|| special->state == &states[S_FANG_PINCHBOUNCE3]
|| special->state == &states[S_FANG_PINCHBOUNCE4])
&& P_MobjFlip(special)*((special->z + special->height/2) - (toucher->z - toucher->height/2)) > -(special->height/4))
&& P_MobjFlip(special)*((special->z + special->height/2) - (toucher->z - toucher->height/2)) > (special->height/4))
{
P_DamageMobj(toucher, special, special, 1, 0);
P_SetTarget(&special->tracer, toucher);