From 12a59812090d46f90f91b332fbe27da18a179ab2 Mon Sep 17 00:00:00 2001 From: TimePath Date: Wed, 28 Oct 2015 19:32:36 +1100 Subject: [PATCH] Weapons: use correct weapon name for ITEM_WEAPON_PRIMORSEC --- qcsrc/server/weapons/weaponsystem.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/weapons/weaponsystem.qc b/qcsrc/server/weapons/weaponsystem.qc index 7966e073b..e64391d83 100644 --- a/qcsrc/server/weapons/weaponsystem.qc +++ b/qcsrc/server/weapons/weaponsystem.qc @@ -526,7 +526,7 @@ bool weapon_prepareattack_checkammo(Weapon thiswep, entity actor, bool secondary actor, MSG_MULTI, ITEM_WEAPON_PRIMORSEC, - thiswep, + thiswep.m_id, secondary, (1 - secondary) ); -- 2.39.2