diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-04-12 19:37:49 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-04-12 19:37:49 +0200 |
commit | e532a5d3fa21784423bcaf6209b235f364684668 (patch) | |
tree | 0033e3313e7411ab249783377864e14eca703316 /src/game | |
parent | f7b5399b8abc2fc63f5c8d1e021fbe9f449944d0 (diff) |
Fix MOD_NOCREEP damage indicators appearing at (0,0,0).
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_combat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index b0d435b..d0e381b 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1163,6 +1163,10 @@ void G_SpawnDamageIndicator( gentity_t *ent, gentity_t *inflictor, di->flags |= DIF_INDIRECT | DIF_PERSISTENT; break; + case MOD_NOCREEP: + di->flags |= DIF_INDIRECT; + break; + case MOD_DECONSTRUCT: return; } |