From: Rudolf Polzer Date: Wed, 10 Nov 2010 06:25:31 +0000 (+0100) Subject: minelayer: don't send a network update every frame, it's not guided X-Git-Tag: xonotic-v0.1.0preview~166 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=98b778e3efdd3f118d3e9bc463d4250e31f083d2;p=xonotic%2Fxonotic-data.pk3dir.git minelayer: don't send a network update every frame, it's not guided --- diff --git a/qcsrc/server/w_minelayer.qc b/qcsrc/server/w_minelayer.qc index 3b9c94006..aeefbcd0b 100644 --- a/qcsrc/server/w_minelayer.qc +++ b/qcsrc/server/w_minelayer.qc @@ -171,9 +171,6 @@ void W_Mine_Think (void) if (self.owner.deadflag == DEAD_NO) if (self.minelayer_detonate) W_Mine_RemoteExplode(); - - if(self.csqcprojectile_clientanimate == 0) - UpdateCSQCProjectile(self); } void W_Mine_Touch (void) @@ -252,7 +249,7 @@ void W_Mine_Attack (void) mine.cnt = time + cvar("g_balance_minelayer_lifetime"); mine.flags = FL_PROJECTILE; - CSQCProjectile(mine, FALSE, PROJECTILE_MINE, TRUE); + CSQCProjectile(mine, TRUE, PROJECTILE_MINE, TRUE); // muzzle flash for 1st person view flash = spawn ();