- SW: Don't check SB_RUN as player action in ChopsCheck().

Fixes #312.
This commit is contained in:
Mitchell Richters 2020-09-06 19:16:24 +10:00
parent d73ea118df
commit 677efb20ba

View file

@ -7378,7 +7378,7 @@ void ChopsCheck(PLAYERp pp)
{
if (!M_Active() && !TEST(pp->Flags, PF_DEAD) && !pp->sop_riding && numplayers <= 1)
{
if (pp->input.actions || pp->input.fvel || pp->input.svel || pp->input.q16avel || pp->input.q16horz ||
if (pp->input.actions & ~SB_RUN || pp->input.fvel || pp->input.svel || pp->input.q16avel || pp->input.q16horz ||
TEST(pp->Flags, PF_CLIMBING | PF_FALLING | PF_DIVING))
{
// Hit a input key or other reason to stop chops