Don't draw client console buffer past top of screen
Thanks @Pan7.
This commit is contained in:
parent
d9309ac6db
commit
b9e0398244
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ void Con_DrawSolidConsole( float frac ) {
|
||||||
|
|
||||||
// draw the text
|
// draw the text
|
||||||
con.vislines = lines;
|
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);
|
y = lines - (SMALLCHAR_HEIGHT*3);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue