From 60f1029b8af825f660289304f6c1c91f541b26ec Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 4 Jul 2023 04:53:46 -0700 Subject: [PATCH] [Bugfix]: Fix typo in weapon.cpp (#1352) --- src/xrGame/Weapon.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xrGame/Weapon.cpp b/src/xrGame/Weapon.cpp index 2492e59d235..d03e69ff250 100644 --- a/src/xrGame/Weapon.cpp +++ b/src/xrGame/Weapon.cpp @@ -982,9 +982,11 @@ bool CWeapon::Action(u16 cmd, u32 flags) { FireEnd(); } + return true; }; + return false; } - return true; + case kWPN_NEXT: { return SwitchAmmoType(flags); }