]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Only for hitscan weapons. Otherwise rockets have no effect when their blast damages...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 26 Feb 2012 21:09:54 +0000 (23:09 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 26 Feb 2012 21:09:54 +0000 (23:09 +0200)
qcsrc/client/damage.qc

index d342738e99cc4212286065aef047d91a94479e4d..00928ad627dd18dacc8e55c74c8dcf98bc690aa2 100644 (file)
@@ -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;