]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
second part of melee fix :P
authorRudolf Polzer <divverent@xonotic.org>
Thu, 8 Mar 2012 15:53:26 +0000 (16:53 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 8 Mar 2012 15:53:26 +0000 (16:53 +0100)
qcsrc/server/w_shotgun.qc

index e5e8336cdf047433285b0b765a51c6edc7520b0c..15268eb78501fb9f981e2bfaffff964669b4a2b6 100644 (file)
@@ -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);