]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/arc.qc
Combine `SELFCALL` and `SELFCALL_DONE` with `WITH`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / arc.qc
index a9829f6129a8ed2da7b51334f9831f52109986d8..fe8c20c7a240367ac85d9064b92b0ab0b380ab90 100644 (file)
@@ -592,8 +592,7 @@ void W_Arc_Beam(float burst)
        beam.beam_bursting = burst;
        Net_LinkEntity(beam, false, 0, W_Arc_Beam_Send);
 
-       SELFCALL(beam, beam.think());
-       SELFCALL_DONE();
+       WITH(entity, self, beam, beam.think());
 }
 
 void Arc_Smoke()