From 54d73ce9f89730d9cda71cb91519d07e75b80b1b Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 23 Jul 2020 14:05:36 +1000 Subject: [PATCH] - fix 'Quick Turn' for Duke. --- source/games/duke/src/player.cpp | 2 +- wadsrc/static/engine/commonbinds.txt | 2 +- wadsrc/static/engine/menudef.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/games/duke/src/player.cpp b/source/games/duke/src/player.cpp index e739b1331..e627287f1 100644 --- a/source/games/duke/src/player.cpp +++ b/source/games/duke/src/player.cpp @@ -796,7 +796,7 @@ void applylook(int snum, double factor) p->addrotscrnang(factor * -24); } - if (p->one_eighty_count < 0 && p->on_crane == 0) + if (p->one_eighty_count < 0 && p->on_crane < 0) { fixed_t add = fix16_from_dbl(factor * 128); p->one_eighty_count += add; diff --git a/wadsrc/static/engine/commonbinds.txt b/wadsrc/static/engine/commonbinds.txt index 687132659..be1641d2d 100644 --- a/wadsrc/static/engine/commonbinds.txt +++ b/wadsrc/static/engine/commonbinds.txt @@ -44,7 +44,7 @@ K "+See_Coop_View" Mouse1 "+Fire" -Backspace "TurnAround" +Backspace "turnaround" Scroll "HolsterWeapon" MWheelUp "weapprev" MWheelDown "weapnext" diff --git a/wadsrc/static/engine/menudef.txt b/wadsrc/static/engine/menudef.txt index af21062ac..a5f07d3bc 100644 --- a/wadsrc/static/engine/menudef.txt +++ b/wadsrc/static/engine/menudef.txt @@ -585,7 +585,7 @@ OptionMenu "ActionControlsMenu"// protected StaticText "" Control "$CNTRLMNU_TURNLEFT" , "+turn_left" Control "$CNTRLMNU_TURNRIGHT" , "+turn_right" - Control "$CNTRLMNU_TURN180" , "+turnaround" + Control "$CNTRLMNU_TURN180" , "turnaround" StaticText "" Control "$CNTRLMNU_JUMP" , "+jump"