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/cgame | |
parent | eb30895efbad7f5f1ca5d943dbe87ebcd3502fa3 (diff) |
Fix blob origin not being set for hitscan weapons.
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |