]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/damage.qc
Active eventchase_nexball only when playing or spectating somebody
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / damage.qc
index 32849c2ac6d3858a738bbd92f4a89f3185a33d81..64e12620dae961523bbafae3674579a9561e3744 100644 (file)
@@ -345,6 +345,6 @@ void Ent_DamageInfo(float isNew)
                        w_backoff = -1 * normalize(force);
                setorigin(self, w_org + w_backoff * 2); // for sound() calls
 
-               WEP_ACTION(hitwep, WR_IMPACTEFFECT);
+               if(!(trace_dphitq3surfaceflags & Q3SURFACEFLAG_SKY)) { WEP_ACTION(hitwep, WR_IMPACTEFFECT); }
        }
 }