- Exhumed: Fix if statement in DrawWeapons() following changes in e225e85ae1.

This commit is contained in:
Mitchell Richters 2020-08-24 16:02:12 +10:00
parent e225e85ae1
commit b5823385e1

View file

@ -960,7 +960,7 @@ void DrawWeapons(double smooth)
double xOffset, yOffset; double xOffset, yOffset;
if (cl_weaponsway && var_34 == 1) if (cl_weaponsway)
{ {
// CHECKME - not & 0x7FF? // CHECKME - not & 0x7FF?
double nBobAngle = obobangle + fmulscale16(((bobangle + 1024 - obobangle) & 2047) - 1024, smooth); double nBobAngle = obobangle + fmulscale16(((bobangle + 1024 - obobangle) & 2047) - 1024, smooth);