From e532a5d3fa21784423bcaf6209b235f364684668 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 12 Apr 2015 19:37:49 +0200 Subject: Fix MOD_NOCREEP damage indicators appearing at (0,0,0). --- src/game/g_combat.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit