Skip to content
Snippets Groups Projects

Fix 2 decal issues

Merged terencehill requested to merge terencehill/decals_fix into master
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
  • c55b6d29
    Fix #2128 "Hitscan weapons create no decals when shooting almost straight down... · c55b6d29
    terencehill authored
    Fix #2128 "Hitscan weapons create no decals when shooting almost straight down at the floor i am standing on"
@@ -259,8 +259,8 @@ NET_HANDLE(ENT_CLIENT_DAMAGEINFO, bool isNew)
@@ -259,8 +259,8 @@ NET_HANDLE(ENT_CLIENT_DAMAGEINFO, bool isNew)
DamageEffect(it, w_org, thisdmg, w_deathtype, species);
DamageEffect(it, w_org, thisdmg, w_deathtype, species);
if((it.isplayermodel & ISPLAYER_MODEL))
if(it != csqcplayer && (it.isplayermodel & ISPLAYER_MODEL))
hitplayer = true; // this impact damaged a player
hitplayer = true; // this impact damaged another player
});
});
if(DEATH_ISVEHICLE(w_deathtype))
if(DEATH_ISVEHICLE(w_deathtype))
Loading