From: Mircea Kitsune Date: Sun, 26 Feb 2012 21:09:54 +0000 (+0200) Subject: Only for hitscan weapons. Otherwise rockets have no effect when their blast damages... X-Git-Tag: xonotic-v0.6.0~42^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d69f09c5d3bd8bd7dc65775eb5f95cd2fd3b7091;p=xonotic%2Fxonotic-data.pk3dir.git Only for hitscan weapons. Otherwise rockets have no effect when their blast damages players, even if they hit the ground --- diff --git a/qcsrc/client/damage.qc b/qcsrc/client/damage.qc index d342738e9..00928ad62 100644 --- a/qcsrc/client/damage.qc +++ b/qcsrc/client/damage.qc @@ -328,7 +328,7 @@ void Ent_DamageInfo(float isNew) // TODO spawn particle effects and sounds based on w_deathtype if(!DEATH_ISSPECIAL(w_deathtype)) - if not(isplayer) // don't show ground impacts if a player was hit + if not(isplayer && !rad) // don't show ground impacts for hitscan weapons if a player was hit { float hitwep;