From: Mario Date: Thu, 10 Dec 2015 22:38:41 +0000 (+1000) Subject: Possible fixes for nades X-Git-Tag: xonotic-v0.8.2~1515 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=81bf1199e7480ad9d2fc49c7c16eae4e67c13df9;p=xonotic%2Fxonotic-data.pk3dir.git Possible fixes for nades --- diff --git a/qcsrc/common/mutators/mutator/nades/nades.qc b/qcsrc/common/mutators/mutator/nades/nades.qc index c1ab9774d..28aaac5dc 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qc +++ b/qcsrc/common/mutators/mutator/nades/nades.qc @@ -658,6 +658,11 @@ void nade_boom() void nade_touch() {SELFPARAM(); + if(other) + UpdateCSQCProjectile(self); + + if(other == self.realowner) + return; // no self impacts /*float is_weapclip = 0; if(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NODRAW) if (!(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NONSOLID))