[iortcw] 430/497: SP: Some fixes with old UI code

Simon McVittie smcv at debian.org
Fri Sep 8 10:37:42 UTC 2017


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

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 2f572606a2cb91c871353d04b4841612726e0e79
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Mon Nov 16 21:41:45 2015 -0500

    SP: Some fixes with old UI code
---
 SP/code/cgame/cg_draw.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/SP/code/cgame/cg_draw.c b/SP/code/cgame/cg_draw.c
index 14c01db..69b7432 100644
--- a/SP/code/cgame/cg_draw.c
+++ b/SP/code/cgame/cg_draw.c
@@ -553,7 +553,7 @@ static void CG_DrawStatusBarKeys() {
 
 	// (SA) just don't draw this stuff for now.  It's got fog issues I need to clean up
 
-	return;
+//	return;
 
 
 
@@ -867,7 +867,7 @@ static void CG_DrawStatusBar( void ) {
 //	CG_DrawField ( 185, STATUSBARHEIGHT, 3, value);
 	{
 		char printme[16];
-		sprintf( printme, "%d", value );
+		Com_sprintf( printme, sizeof( printme ), "%d", value );
 		//CG_DrawBigString( 185, STATUSBARHEIGHT, printme, cg_hudAlpha.value );
 		CG_DrawBigString2( 16 + 23 + 43, STATUSBARHEIGHT, printme, cg_hudAlpha.value );
 	}
@@ -886,7 +886,7 @@ static void CG_DrawStatusBar( void ) {
 //		CG_DrawField (370, STATUSBARHEIGHT, 3, value);
 		{
 			char printme[16];
-			sprintf( printme, "%d", value );
+			Com_sprintf( printme, sizeof( printme ), "%d", value );
 			//CG_DrawBigString( 370, STATUSBARHEIGHT, printme, cg_hudAlpha.value );
 			CG_DrawBigString2( 200, STATUSBARHEIGHT, printme, cg_hudAlpha.value );
 		}
@@ -1452,7 +1452,7 @@ static float CG_DrawPowerups( float y ) {
 	x = 640 - ICON_SIZE - CHAR_WIDTH * 2;
 	for ( i = 0 ; i < active ; i++ ) {
 
-		continue;   // (SA) FIXME: TEMP: as I'm getting powerup business going
+//		continue;   // (SA) FIXME: TEMP: as I'm getting powerup business going
 
 		item = BG_FindItemForPowerup( sorted[i] );
 

-- 
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