From f0daf5c5131177d2270e9a38dd8da7c5472ef178 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sun, 5 Jan 2014 12:37:22 -0500 Subject: [PATCH] Add shotgun spawnfunc --- qcsrc/common/weapons/w_shotgun.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/common/weapons/w_shotgun.qc b/qcsrc/common/weapons/w_shotgun.qc index 2983f4db3..a304240bf 100644 --- a/qcsrc/common/weapons/w_shotgun.qc +++ b/qcsrc/common/weapons/w_shotgun.qc @@ -48,6 +48,7 @@ SHOTGUN_SETTINGS(WEP_ADD_CVAR, WEP_ADD_PROP) #endif #else #ifdef SVQC +void spawnfunc_weapon_shotgun(void) { weapon_defaultspawnfunc(WEP_SHOTGUN); } void W_Shotgun_Attack (void) { @@ -187,8 +188,6 @@ void W_Shotgun_Attack2 (void) W_SetupShot_Range(self, TRUE, 0, "", 0, WEP_CVAR_SEC(shotgun, damage), WEP_CVAR_SEC(shotgun, melee_range)); } -void spawnfunc_weapon_shotgun(); // defined in t_items.qc - .float shotgun_primarytime; float W_Shotgun(float req) -- 2.39.2