From b9e0398244bb93433daa57133b1a08fd031b9f52 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 12 Jul 2014 21:49:40 -0500 Subject: [PATCH] Don't draw client console buffer past top of screen Thanks @Pan7. --- code/client/cl_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_console.c b/code/client/cl_console.c index d1b9fec1..dee9d0cb 100644 --- a/code/client/cl_console.c +++ b/code/client/cl_console.c @@ -677,7 +677,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);