From: Rudolf Polzer Date: Thu, 8 Mar 2012 15:53:26 +0000 (+0100) Subject: second part of melee fix :P X-Git-Tag: xonotic-v0.7.0~55^2~7^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2680c6ec0a3bc9839194268d3c8b40c160748b5;p=xonotic%2Fxonotic-data.pk3dir.git second part of melee fix :P --- diff --git a/qcsrc/server/w_shotgun.qc b/qcsrc/server/w_shotgun.qc index e5e8336cd..15268eb78 100644 --- a/qcsrc/server/w_shotgun.qc +++ b/qcsrc/server/w_shotgun.qc @@ -151,7 +151,7 @@ void W_Shotgun_Attack2 (void) entity meleetemp; meleetemp = spawn(); - meleetemp.owner = meleetemp.realowner = self; + meleetemp.realowner = self; meleetemp.think = shotgun_meleethink; meleetemp.nextthink = time + autocvar_g_balance_shotgun_secondary_melee_delay * W_WeaponRateFactor(); W_SetupShot_Range(self, TRUE, 0, "", 0, autocvar_g_balance_shotgun_secondary_damage, autocvar_g_balance_shotgun_secondary_melee_range);