From 66d160be43c3f46de13a668fc207350b2e8ddb20 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Tue, 7 Feb 2017 10:55:42 +0000 Subject: [PATCH] On second thoughts, this is better. --- src/p_user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index 385b361b1..865b05af0 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -9230,7 +9230,8 @@ void P_PlayerThink(player_t *player) else if (cmd->forwardmove || cmd->sidemove) // only when you're pressing movement keys { #if 1 - if (!(player->pflags & (PF_JUMPED|PF_SPINNING)) + if (!((player->pflags & PF_SPINNING) + || ((player->pflags & PF_JUMPED) && !(player->charflags & SF_NOJUMPSPIN))) #else if ((player->mo->movefactor < FRACUNIT) // hilarious absence of traction! || (player->powers[pw_pushing])