mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Fix for A_ConnectToGround on gravflipped objects, courtesy of toaster.
This commit is contained in:
parent
4b965fe43b
commit
636760760f
1 changed files with 6 additions and 9 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue