From d662cece15f868ff0eccad813b8df6625473fff5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 4 Feb 2017 16:44:43 +0100 Subject: [PATCH] - fixed calculations in AdjusrPlayerAngle. --- wadsrc/static/zscript/hexen/baseweapons.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/hexen/baseweapons.txt b/wadsrc/static/zscript/hexen/baseweapons.txt index f087946485..e0394996a8 100644 --- a/wadsrc/static/zscript/hexen/baseweapons.txt +++ b/wadsrc/static/zscript/hexen/baseweapons.txt @@ -40,7 +40,7 @@ extend class Actor void AdjustPlayerAngle(FTranslatedLineTarget t) { - double difference = t.angleFromSource; + double difference = deltaangle(angle, t.angleFromSource); if (abs(difference) > MAX_ANGLE_ADJUST) { if (difference > 0)