[iortcw] 39/95: SP: Fix ammo value placement for akimbos

Simon McVittie smcv at debian.org
Fri Sep 8 10:41:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to tag 1.51
in repository iortcw.

commit 18a725c7ea62eeada4e6d242b531a9d07da10ef6
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Mon Feb 27 17:34:23 2017 -0500

    SP: Fix ammo value placement for akimbos
---
 SP/code/cgame/cg_newdraw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SP/code/cgame/cg_newdraw.c b/SP/code/cgame/cg_newdraw.c
index ad3a3f1..ed93c30 100644
--- a/SP/code/cgame/cg_newdraw.c
+++ b/SP/code/cgame/cg_newdraw.c
@@ -653,7 +653,7 @@ static void CG_DrawPlayerAmmoValue( rectDef_t *rect, int font, float scale, vec4
 			if ( value2 || ( special && type == 1 ) ) {
 				Com_sprintf( num, sizeof( num ), "%i /", value2 );
 				value = CG_Text_Width( num, font, scale, 0 );
-				CG_Text_Paint( -30 + rect->x + ( rect->w - value ) / 2, rect->y + rect->h, font, scale, color, num, 0, 0, textStyle );
+				CG_Text_Paint( -42 + rect->x + ( rect->w - value ) / 2, rect->y + rect->h, font, scale, color, num, 0, 0, textStyle );
 			}
 		}
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list