]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/arc.qc
Cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / arc.qc
index 1bb92198265f19bd282745b7e4cf3f7954a56245..218edb6a86fb2e9c0ad0d9eb0195baaa9e6f7545 100644 (file)
@@ -96,7 +96,6 @@ ARC_SETTINGS(WEP_ADD_CVAR, WEP_ADD_PROP)
 .float arc_smoke_sound;
 #endif
 #ifdef CSQC
-void Ent_ReadArcBeam(float isnew);
 
 .vector beam_color;
 .float beam_alpha;
@@ -1149,8 +1148,8 @@ void Remove_ArcBeam()
        sound(self, CH_SHOTS_SINGLE, SND_Null, VOL_BASE, ATTEN_NORM);
 }
 
-void Ent_ReadArcBeam(float isnew)
-{SELFPARAM();
+NET_HANDLE(ENT_CLIENT_ARC_BEAM, bool isnew)
+{
        int sf = ReadByte();
        entity flash;
 
@@ -1495,6 +1494,7 @@ void Ent_ReadArcBeam(float isnew)
        {
                InterpolateOrigin_Note();
        }
+       return true;
 }
 
 #endif