From 815df3ed382b75e56bf1f0d030350578b0621619 Mon Sep 17 00:00:00 2001 From: "Richard C. Gobeille" Date: Sat, 13 Jun 2020 14:56:49 -0700 Subject: [PATCH] Duke3d: fix player still being able to look around while frozen --- source/duke3d/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index 44680ecbe..a174c03d2 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -3020,7 +3020,7 @@ static int P_CheckLockedMovement(int const playerNum) auto &thisPlayer = g_player[playerNum]; auto const pPlayer = thisPlayer.ps; - if ((pPlayer->dead_flag && !ud.god) || pPlayer->fist_incs || pPlayer->transporter_hold > 2 || pPlayer->hard_landing || pPlayer->access_incs > 0 + if (sprite[pPlayer->i].extra <= 0 || (pPlayer->dead_flag && !ud.god) || pPlayer->fist_incs || pPlayer->transporter_hold > 2 || pPlayer->hard_landing || pPlayer->access_incs > 0 || pPlayer->knee_incs > 0 || (PWEAPON(playerNum, pPlayer->curr_weapon, WorksLike) == TRIPBOMB_WEAPON && pPlayer->kickback_pic > 1 && pPlayer->kickback_pic < PWEAPON(playerNum, pPlayer->curr_weapon, FireDelay)))