[ioquake3] 90/136: Draw disconnect icon over lagometer in Team Arena too

Simon McVittie smcv at debian.org
Thu Jun 15 09:09:13 UTC 2017


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

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit c14cb70f15039c90f36a0ece95dd574a7ad172d1
Author: Zack Middleton <zack at cloemail.com>
Date:   Fri Jun 2 21:55:40 2017 -0500

    Draw disconnect icon over lagometer in Team Arena too
    
    The blinking disconnect icon is drawn over lagometer in Q3.
    Team Arena moved the lagometer location. Now let's draw the
    disconnect icon over lagometer in Team Arena too!
---
 code/cgame/cg_draw.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/code/cgame/cg_draw.c b/code/cgame/cg_draw.c
index e3122e8..4b6df01 100644
--- a/code/cgame/cg_draw.c
+++ b/code/cgame/cg_draw.c
@@ -1606,8 +1606,13 @@ static void CG_DrawDisconnect( void ) {
 		return;
 	}
 
+#ifdef MISSIONPACK
+	x = 640 - 48;
+	y = 480 - 144;
+#else
 	x = 640 - 48;
 	y = 480 - 48;
+#endif
 
 	CG_DrawPic( x, y, 48, 48, trap_R_RegisterShader("gfx/2d/net.tga" ) );
 }

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



More information about the Pkg-games-commits mailing list