[iortcw] 58/152: MP: Fix reticle view in limbo menu

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


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

smcv pushed a commit to annotated tag 1.5a
in repository iortcw.

commit 1ed970507d489f6310b70236eb07d31a762ed8be
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Sat May 14 06:18:12 2016 -0400

    MP: Fix reticle view in limbo menu
---
 MP/code/cgame/cg_draw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/cgame/cg_draw.c b/MP/code/cgame/cg_draw.c
index 90d01d2..7f48677 100644
--- a/MP/code/cgame/cg_draw.c
+++ b/MP/code/cgame/cg_draw.c
@@ -1521,7 +1521,7 @@ static void CG_DrawWeapReticle( void ) {
 		if ( cg_reticles.integer ) {
 
 			// sides
-			if ( cg_fixedAspect.integer ) {
+			if ( cg_fixedAspect.integer && !cg.limboMenu ) {
 				if ( cgs.glconfig.vidWidth * 480.0 > cgs.glconfig.vidHeight * 640.0 ) {
 					mask = 0.5 * ( ( cgs.glconfig.vidWidth - ( cgs.screenXScale * 480.0 ) ) / cgs.screenXScale );
 
@@ -1573,7 +1573,7 @@ static void CG_DrawWeapReticle( void ) {
 		if ( cg_reticles.integer ) {
 
 			// sides
-			if ( cg_fixedAspect.integer ) {
+			if ( cg_fixedAspect.integer && !cg.limboMenu ) {
 				if ( cgs.glconfig.vidWidth * 480.0 > cgs.glconfig.vidHeight * 640.0 ) {
 					mask = 0.5 * ( ( cgs.glconfig.vidWidth - ( cgs.screenXScale * 480.0 ) ) / cgs.screenXScale );
 

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