Merge branch 'connect-to-ground-fix' into 'master'

Fix for A_ConnectToGround on gravflipped objects

See merge request STJr/SRB2Internal!372
This commit is contained in:
MascaraSnake 2019-10-13 11:07:46 -04:00
commit 008e232d78

View file

@ -12292,9 +12292,6 @@ void A_ConnectToGround(mobj_t *actor)
if (!(workh = FixedMul(mobjinfo[locvar1].height, actor->scale)))
return;
if (actor->flags2 & MF2_OBJECTFLIP)
workz -= workh;
ang = actor->angle + ANGLE_45;
while (dir*workz < 0)
{