From 0cbd24e5891b2ff193453fddb2b6d60747e6f28f Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 6 Dec 2021 21:30:35 -0800 Subject: [PATCH] 2x vertical speed for downward springs --- src/p_map.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_map.c b/src/p_map.c index d0716790b..858eb7600 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -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) {