]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/effects.qc
Clean up MENUQC #includes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / effects.qc
index a515fdb61ca8bfc914dfeec325d08d505b04a26d..1f03fdb457649d260c8875a38761b950363937b0 100644 (file)
@@ -1,3 +1,10 @@
+#if defined(CSQC)
+    #include "../dpdefs/csprogsdefs.qh"
+    #include "autocvars.qh"
+#elif defined(MENUQC)
+#elif defined(SVQC)
+#endif
+
 /*
 .vector fx_start;
 .vector fx_end;
@@ -75,7 +82,7 @@ void Net_ReadLightningarc()
        vector from, to;
 
     from_x = ReadCoord(); from_y = ReadCoord(); from_z = ReadCoord();
-    to_x   = ReadCoord(); to_y   = ReadCoord(); to_z   = ReadCoord();
+    to_x = ReadCoord(); to_y = ReadCoord(); to_z = ReadCoord();
 
     if(autocvar_cl_effects_lightningarc_simple)
     {