summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-04-04 23:18:38 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-04-04 23:18:38 +0200
commitf6e33b770e9fd1b5e6024c96ebd6f8183cc25a83 (patch)
tree69afecbd1fd26520298a61f59aab76ccb15f24b8 /src
parent5ef62f4e351371265ff96ad423332ab38a162a62 (diff)
Fix poison spawning damage blobs at (0,0,0).
Diffstat (limited to 'src')
-rw-r--r--src/game/g_combat.c2
1 files changed, 1 insertions, 1 deletions
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 );