From fcbda108b4fbc72c2056363ebd2afb7efcbd0f08 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 12 Jul 2014 21:49:40 -0500 Subject: Don't draw client console buffer past top of screen Thanks @Pan7. --- src/client/cl_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/cl_console.c b/src/client/cl_console.c index 09e0429f..4e89b98e 100644 --- a/src/client/cl_console.c +++ b/src/client/cl_console.c @@ -509,7 +509,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*2)/SMALLCHAR_HEIGHT; // rows of text to draw y = lines - (SMALLCHAR_HEIGHT*3); -- cgit