diff options
author | Zack Middleton <zturtleman@gmail.com> | 2014-07-13 01:56:50 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-08-28 11:03:33 +0100 |
commit | 4873ac84efd46a4af84dbbb3b6bbbbe5a2d2044e (patch) | |
tree | fb86c0d67bed3747118991b45d4b3e67fd822394 /src/client/cl_console.c | |
parent | fcbda108b4fbc72c2056363ebd2afb7efcbd0f08 (diff) |
Restore drawing a cut off client console line in 1920x1080
The text lines don't meet at top of the sceen in 1920x1080, restore
drawing a cut off line across the top. In 640x480 this line isn't seen
at all. This is still better then trying to draw twice as many lines
than are actually seen (the way it was before the last commit).
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 4e89b98e..997fa660 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_HEIGHT*2)/SMALLCHAR_HEIGHT; // rows of text to draw + rows = (lines-SMALLCHAR_HEIGHT)/SMALLCHAR_HEIGHT; // rows of text to draw y = lines - (SMALLCHAR_HEIGHT*3); |