From d69f09c5d3bd8bd7dc65775eb5f95cd2fd3b7091 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sun, 26 Feb 2012 23:09:54 +0200 Subject: [PATCH] Only for hitscan weapons. Otherwise rockets have no effect when their blast damages players, even if they hit the ground --- qcsrc/client/damage.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2