From f6e33b770e9fd1b5e6024c96ebd6f8183cc25a83 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 4 Apr 2015 23:18:38 +0200 Subject: Fix poison spawning damage blobs at (0,0,0). --- src/game/g_combat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 0c6086d..423b517 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1466,7 +1466,7 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, if( targ->s.eType == ET_BUILDABLE ) blob->flags |= DAMAGE_BLOB_BUILDABLE; - if( dflags & DAMAGE_RADIUS ) + if( ( dflags & DAMAGE_RADIUS ) || mod == MOD_POISON ) { blob->flags |= DAMAGE_BLOB_SPLASH; VectorAdd( targ->r.absmin, targ->r.absmax, blob->origin ); -- cgit