diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-04-04 12:38:02 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-04-04 12:38:02 +0200 |
commit | 752d1bbed1f59eb45b3c89cbddc1430d817b1102 (patch) | |
tree | 65f50394804d3565971f4e2a4d6c2c3eddbb1ee4 /src/game | |
parent | eb30895efbad7f5f1ca5d943dbe87ebcd3502fa3 (diff) |
Fix blob origin not being set for hitscan weapons.
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_combat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 50bfea3..0c6086d 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1474,6 +1474,8 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, } else if( inflictor->s.eType == ET_MISSILE ) VectorCopy( inflictor->r.currentOrigin, blob->origin ); + else + VectorCopy( point, blob->origin ); } if( targ->health <= 0 ) |