mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fixed seed spawning not properly accounting for reverse gravity.
This commit is contained in:
parent
3f92a2305a
commit
0d49d4ba3f
1 changed files with 1 additions and 1 deletions
|
|
@ -10367,7 +10367,7 @@ mobj_t *P_InternalFlickySpawn(mobj_t *actor, mobjtype_t flickytype, fixed_t momz
|
||||||
flicky->angle = actor->angle;
|
flicky->angle = actor->angle;
|
||||||
|
|
||||||
if (flickytype == MT_SEED)
|
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)
|
if (actor->eflags & MFE_UNDERWATER)
|
||||||
momz = FixedDiv(momz, FixedSqrt(3*FRACUNIT));
|
momz = FixedDiv(momz, FixedSqrt(3*FRACUNIT));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue