mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
make sure the bottom part of the console gets updated properly if it covers
the status bar.
This commit is contained in:
parent
72bc818807
commit
d7bbe82efd
1 changed files with 4 additions and 0 deletions
|
@ -550,6 +550,8 @@ SCR_SetUpToDrawConsole (void)
|
|||
else
|
||||
scr_conlines = 0; // none visible
|
||||
|
||||
if (scr_con_current >= vid.height - sb_lines)
|
||||
scr_copyeverything = 1;
|
||||
if (scr_conlines < scr_con_current) {
|
||||
scr_con_current -= scr_conspeed->value * r_frametime;
|
||||
if (scr_conlines > scr_con_current)
|
||||
|
@ -560,6 +562,8 @@ SCR_SetUpToDrawConsole (void)
|
|||
if (scr_conlines < scr_con_current)
|
||||
scr_con_current = scr_conlines;
|
||||
}
|
||||
if (scr_con_current >= vid.height - sb_lines)
|
||||
scr_copyeverything = 1;
|
||||
|
||||
if (clearconsole++ < vid.numpages)
|
||||
Sbar_Changed ();
|
||||
|
|
Loading…
Reference in a new issue