2x vertical speed for downward springs

This commit is contained in:
James R 2021-12-06 21:30:35 -08:00
parent be34cd699b
commit 0cbd24e589

View file

@ -310,6 +310,9 @@ boolean P_DoSpring(mobj_t *spring, mobj_t *object)
if (spring->eflags & MFE_VERTICALFLIP)
vertispeed *= -1;
if ((spring->eflags ^ object->eflags) & MFE_VERTICALFLIP)
vertispeed *= 2;
// Vertical springs teleport you on TOP of them.
if (vertispeed > 0)
{