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/cgame/cg_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 92e64b5..8007bfe 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -3936,7 +3936,7 @@ static void CG_DrawDamageBlobs( void ) fade = 1.0f - (float)( cg.time - blob->spawnTime ) / DAMAGE_BLOB_TIME; - scale = cg_damageBlobSize.value / + scale = 0.75f * cg_damageBlobSize.value / pow( Distance( blob->origin, cg.refdef.vieworg ), 0.5f ); Com_sprintf( str, sizeof( str ), "%d", blob->value ); -- cgit