From: TimePath Date: Wed, 28 Oct 2015 08:32:36 +0000 (+1100) Subject: Weapons: use correct weapon name for ITEM_WEAPON_PRIMORSEC X-Git-Tag: xonotic-v0.8.2~1765 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=12a59812090d46f90f91b332fbe27da18a179ab2;p=xonotic%2Fxonotic-data.pk3dir.git Weapons: use correct weapon name for ITEM_WEAPON_PRIMORSEC --- 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) );