]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/Main.qc
Merge remote-tracking branch 'origin/master' into samual/spawn_weapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / Main.qc
index d4a8a38deb66917117976e65d44a2e9d12995024..fe9fd6dd38a5b4aa8e736136864f40c0416e8d8e 100644 (file)
@@ -2,10 +2,10 @@
 // BEGIN REQUIRED CSQC FUNCTIONS
 //include "main.qh"
 
-.entity clearentity_ent;
+entity clearentity_ent;
 void clearentity(entity e)
 {
-       if(!clearentity_ent)
+       if not(clearentity_ent)
        {
                clearentity_ent = spawn();
                clearentity_ent.classname = "clearentity";
@@ -178,7 +178,7 @@ void CSQC_Init(void)
        DamageInfo_Precache();
        Vehicles_Precache();
        turrets_precache();
-  Announcer_Precache();
+    Announcer_Precache();
        Tuba_Precache();
        
        if(autocvar_cl_reticle)
@@ -1185,6 +1185,10 @@ float CSQC_Parse_TempEntity()
                        cl_notice_read();
                        bHandled = true;
                        break;
+               case TE_CSQC_SHOCKWAVEPARTICLE:
+                       Net_ReadShockwaveParticle();
+                       bHandled = true;
+                       break;
                default:
                        // No special logic for this temporary entity; return 0 so the engine can handle it
                        bHandled = false;