[iortcw] 420/497: SP: Fix flip-flopped positioning in CG_DrawPickupItem

Simon McVittie smcv at debian.org
Fri Sep 8 10:37:40 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 be82871843033a6cf53d9d92930dee7a08583a62
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Sat Nov 7 06:11:53 2015 -0500

    SP: Fix flip-flopped positioning in CG_DrawPickupItem
---
 SP/code/cgame/cg_draw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SP/code/cgame/cg_draw.c b/SP/code/cgame/cg_draw.c
index 375b22a..6921ab5 100644
--- a/SP/code/cgame/cg_draw.c
+++ b/SP/code/cgame/cg_draw.c
@@ -1570,9 +1570,9 @@ static void CG_DrawPickupItem( void ) {
 	float color[4];
 
 	if ( cg_fixedAspect.integer == 2 ) {
-		CG_SetScreenPlacement(PLACE_CENTER, PLACE_CENTER);
-	} else if ( cg_fixedAspect.integer == 1 ) {
 		CG_SetScreenPlacement(PLACE_LEFT, PLACE_BOTTOM);
+	} else if ( cg_fixedAspect.integer == 1 ) {
+		CG_SetScreenPlacement(PLACE_CENTER, PLACE_CENTER);
 	}
 
 	value = cg.itemPickup;

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