From 752d1bbed1f59eb45b3c89cbddc1430d817b1102 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 4 Apr 2015 12:38:02 +0200 Subject: Fix blob origin not being set for hitscan weapons. --- src/game/g_combat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game') 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 ) -- cgit