summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2010-12-10 22:28:49 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:49 +0000
commit28b3eefd702c149afc5dd56bc408803de06b7ce5 (patch)
treeaa5c566adb58b3ea6842eeea9c65a71b47b78a23 /src/cgame/cg_weapons.c
parent1ae8c55f4750424e85f564cbf2b00f016d1c1f11 (diff)
* Remove used limit parameter from UI_Text_[Width|Height]
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r--src/cgame/cg_weapons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index a166bf94..16c2d578 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -1523,7 +1523,7 @@ void CG_DrawItemSelectText( rectDef_t *rect, float scale, int textStyle )
{
if( ( name = cg_weapons[ cg.weaponSelect ].humanName ) )
{
- w = UI_Text_Width( name, scale, 0 );
+ w = UI_Text_Width( name, scale );
x = rect->x + rect->w / 2;
UI_Text_Paint( x - w / 2, rect->y + rect->h, scale, color, name, 0, 0, textStyle );
}
@@ -1536,7 +1536,7 @@ void CG_DrawItemSelectText( rectDef_t *rect, float scale, int textStyle )
{
if( ( name = cg_upgrades[ cg.weaponSelect - 32 ].humanName ) )
{
- w = UI_Text_Width( name, scale, 0 );
+ w = UI_Text_Width( name, scale );
x = rect->x + rect->w / 2;
UI_Text_Paint( x - w / 2, rect->y + rect->h, scale, color, name, 0, 0, textStyle );
}