summaryrefslogtreecommitdiff
path: root/src/cgame/cg_draw.c
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 12:09:16 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:42 +0000
commit31caf7c4a331a444118a0a7a425e1a8d91cfae71 (patch)
tree0de9ba70c160539e4c47f2ff5fe3e956f42671f7 /src/cgame/cg_draw.c
parent18e91721c4bda2513d6a6e890f3538ee97770123 (diff)
* make barbs line up with default hud with widescreen resolutions
* (this code still doesn't work with vertical barbs, and possible vertical inventory)
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r--src/cgame/cg_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index 0f407803..7619c647 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -633,7 +633,7 @@ static void CG_DrawPlayerPoisonBarbs( rectDef_t *rect, vec4_t color, qhandle_t s
else if( height <= width )
{
vertical = qfalse;
- iconsize = height;
+ iconsize = height * cgDC.aspectScale;
}
if( color[ 3 ] != 0.0 )