From b5823385e1f2e3afcfd39cd3f956f0bf92aa32c3 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 24 Aug 2020 16:02:12 +1000 Subject: [PATCH] - Exhumed: Fix if statement in `DrawWeapons()` following changes in e225e85ae115f001d50bc6150e8be938ced7b48f. --- source/exhumed/src/gun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/exhumed/src/gun.cpp b/source/exhumed/src/gun.cpp index 5f7ffce83..283c4c1fd 100644 --- a/source/exhumed/src/gun.cpp +++ b/source/exhumed/src/gun.cpp @@ -960,7 +960,7 @@ void DrawWeapons(double smooth) double xOffset, yOffset; - if (cl_weaponsway && var_34 == 1) + if (cl_weaponsway) { // CHECKME - not & 0x7FF? double nBobAngle = obobangle + fmulscale16(((bobangle + 1024 - obobangle) & 2047) - 1024, smooth);