[iortcw] 426/497: SP: Clean up some unused stuff

Simon McVittie smcv at debian.org
Fri Sep 8 10:37:41 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 79c9283c0725f88aa0b7e8f6386bf4c33e9706ad
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Fri Nov 13 20:33:09 2015 -0500

    SP: Clean up some unused stuff
---
 SP/code/cgame/cg_draw.c | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/SP/code/cgame/cg_draw.c b/SP/code/cgame/cg_draw.c
index b99eb44..14c01db 100644
--- a/SP/code/cgame/cg_draw.c
+++ b/SP/code/cgame/cg_draw.c
@@ -696,13 +696,8 @@ static void CG_DrawStatusBar( void ) {
 		origin[2] = 0;
 		angles[YAW] = 90 + 20 * sin( cg.time / 1000.0 );;
 //----(SA) Wolf statusbar change
-		if ( cg_fixedAspect.integer ) {
-			CG_Draw3DModel( CHAR_WIDTH*3 + TEXT_ICON_SPACE, 480-iconSize, iconSize, iconSize,
-					cg_weapons[ cent->currentState.weapon ].ammoModel, 0, origin, angles );
-		} else {
-			CG_Draw3DModel( CHAR_WIDTH*3 + TEXT_ICON_SPACE, STATUSBARHEIGHT -20, ICON_SIZE, ICON_SIZE,
-					cg_weapons[ cent->currentState.weapon ].ammoModel, 0, origin, angles );
-		}
+//			CG_Draw3DModel( CHAR_WIDTH*3 + TEXT_ICON_SPACE, STATUSBARHEIGHT -20, ICON_SIZE, ICON_SIZE,
+//					cg_weapons[ cent->currentState.weapon ].ammoModel, 0, origin, angles );
 //----(SA) end
 	}
 */
@@ -728,13 +723,8 @@ static void CG_DrawStatusBar( void ) {
 		origin[2] = -10;
 		angles[YAW] = ( cg.time & 2047 ) * 360 / 2048.0;
 //----(SA) Wolf statusbar change
-		if ( cg_fixedAspect.integer ) {
-			CG_Draw3DModel( 370 + CHAR_WIDTH*3 + TEXT_ICON_SPACE, 480 - iconSize, iconSize, iconSize,
-					cgs.media.armorModel, 0, origin, angles );
-		} else {
-			CG_Draw3DModel( 370 + CHAR_WIDTH*3 + TEXT_ICON_SPACE, STATUSBARHEIGHT -20, ICON_SIZE, ICON_SIZE,
-					cgs.media.armorModel, 0, origin, angles );
-		}
+//			CG_Draw3DModel( 370 + CHAR_WIDTH*3 + TEXT_ICON_SPACE, STATUSBARHEIGHT -20, ICON_SIZE, ICON_SIZE,
+//					cgs.media.armorModel, 0, origin, angles );
 //----(SA) end
 	}
 */

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