Don't draw client console buffer past top of screen

Thanks @Pan7.
This commit is contained in:
Zack Middleton 2014-07-12 21:49:40 -05:00
parent d9309ac6db
commit b9e0398244

View file

@ -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);