diff options
author | Zack Middleton <zturtleman@gmail.com> | 2014-07-12 21:49:40 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-08-28 11:03:33 +0100 |
commit | fcbda108b4fbc72c2056363ebd2afb7efcbd0f08 (patch) | |
tree | 064a77d772913f32d6a19a1037f90719869bac70 /src/client/cl_console.c | |
parent | cbc86d142dfa22c9983eaa51dfff48df36b0c8a1 (diff) |
Don't draw client console buffer past top of screen
Thanks @Pan7.
Diffstat (limited to 'src/client/cl_console.c')
-rw-r--r-- | src/client/cl_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |