[iortcw] 157/497: Don't draw client console buffer past top of screen / Restore drawing a cut off client console line

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:43 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 edf95dbc306ac51d18aef5c361adbd18680794b3
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Sun Jul 13 15:51:43 2014 +0000

    Don't draw client console buffer past top of screen / Restore drawing a cut off client console line
---
 MP/code/client/cl_console.c | 2 +-
 SP/code/client/cl_console.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/client/cl_console.c b/MP/code/client/cl_console.c
index db6ad3f..5e83365 100644
--- a/MP/code/client/cl_console.c
+++ b/MP/code/client/cl_console.c
@@ -742,7 +742,7 @@ void Con_DrawSolidConsole( float frac ) {
 
 	// draw the text
 	con.vislines = lines;
-	rows = ( lines - SMALLCHAR_WIDTH ) / SMALLCHAR_WIDTH;     // rows of text to draw
+	rows = ( lines - SMALLCHAR_HEIGHT ) / SMALLCHAR_HEIGHT; // rows of text to draw
 
 	y = lines - ( SMALLCHAR_HEIGHT * 3 );
 
diff --git a/SP/code/client/cl_console.c b/SP/code/client/cl_console.c
index 191fe3b..07c2d22 100644
--- a/SP/code/client/cl_console.c
+++ b/SP/code/client/cl_console.c
@@ -721,7 +721,7 @@ void Con_DrawSolidConsole( float frac ) {
 
 	// draw the text
 	con.vislines = lines;
-	rows = ( lines - SMALLCHAR_WIDTH ) / SMALLCHAR_WIDTH;     // rows of text to draw
+	rows = ( lines - SMALLCHAR_HEIGHT ) / SMALLCHAR_HEIGHT; // rows of text to draw
 
 	y = lines - ( SMALLCHAR_HEIGHT * 3 );
 

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