From: Samual Lenks Date: Wed, 19 Feb 2014 02:45:17 +0000 (-0500) Subject: Remove the teleporttime stuff, that was useless X-Git-Tag: xonotic-v0.8.0~152^2~76 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=a14871f10b9d6f1f7c7ede02b0c4ad175c137f46;p=xonotic%2Fxonotic-data.pk3dir.git Remove the teleporttime stuff, that was useless --- diff --git a/qcsrc/client/particles.qc b/qcsrc/client/particles.qc index 92e13a31b..07a88b992 100644 --- a/qcsrc/client/particles.qc +++ b/qcsrc/client/particles.qc @@ -381,13 +381,6 @@ void Net_ReadShockwaveParticle() .vector beam_dir; void Draw_ArcBeam() { - if(self.teleport_time) - if(time > self.teleport_time) - { - sound(self, CH_SHOTS_SINGLE, "misc/null.wav", VOL_BASE, ATTEN_NORM); // safeguard - self.teleport_time = 0; - } - InterpolateOrigin_Do(); // origin = beam starting origin @@ -763,7 +756,7 @@ void Ent_ReadArcBeam(float isnew) InterpolateOrigin_Note(); - if(isnew || !self.teleport_time) + if(isnew) { // calculate shot origin offset from gun alignment float gunalign = autocvar_cl_gunalign; @@ -779,8 +772,6 @@ void Ent_ReadArcBeam(float isnew) sound(self, CH_SHOTS_SINGLE, "weapons/lgbeam_fly.wav", VOL_BASE, ATTEN_NORM); } - self.teleport_time = time + 10; - #if 0 printf( "Ent_ReadArcBeam(%d): sf = %d, start = %s, want = %s, dir = %s, type = %d\n",