Fixed seed spawning not properly accounting for reverse gravity.

This commit is contained in:
toasterbabe 2017-01-01 16:24:47 +00:00
parent 3f92a2305a
commit 0d49d4ba3f
1 changed files with 1 additions and 1 deletions

View File

@ -10367,7 +10367,7 @@ mobj_t *P_InternalFlickySpawn(mobj_t *actor, mobjtype_t flickytype, fixed_t momz
flicky->angle = actor->angle;
if (flickytype == MT_SEED)
flicky->z += (actor->height - flicky->height)/2;
flicky->z += P_MobjFlip(actor)*(actor->height - flicky->height)/2;
if (actor->eflags & MFE_UNDERWATER)
momz = FixedDiv(momz, FixedSqrt(3*FRACUNIT));