From df7b375f05f146e1656d7af7dd727f74982b221a Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Thu, 8 Sep 2016 13:57:43 +0100 Subject: [PATCH] Corrected an oversight for horizontal springs the introduction of PA_JUMP caused. --- src/p_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_map.c b/src/p_map.c index c8ae4089f..0b4987c49 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -211,7 +211,7 @@ boolean P_DoSpring(mobj_t *spring, mobj_t *object) P_SetPlayerMobjState(object, S_PLAY_FALL); else // horizontal spring { - if (pflags & (PF_JUMPED|PF_SPINNING) && object->player->panim == PA_ROLL) + if (pflags & (PF_JUMPED|PF_SPINNING) && (object->player->panim == PA_ROLL || object->player->panim == PA_JUMP || object->player->panim == PA_FALL)) object->player->pflags = pflags; else P_SetPlayerMobjState(object, S_PLAY_WALK);