mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-07 08:21:59 +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
|
else
|
||||||
scr_conlines = 0; // none visible
|
scr_conlines = 0; // none visible
|
||||||
|
|
||||||
|
if (scr_con_current >= vid.height - sb_lines)
|
||||||
|
scr_copyeverything = 1;
|
||||||
if (scr_conlines < scr_con_current) {
|
if (scr_conlines < scr_con_current) {
|
||||||
scr_con_current -= scr_conspeed->value * r_frametime;
|
scr_con_current -= scr_conspeed->value * r_frametime;
|
||||||
if (scr_conlines > scr_con_current)
|
if (scr_conlines > scr_con_current)
|
||||||
|
@ -560,6 +562,8 @@ SCR_SetUpToDrawConsole (void)
|
||||||
if (scr_conlines < scr_con_current)
|
if (scr_conlines < scr_con_current)
|
||||||
scr_con_current = scr_conlines;
|
scr_con_current = scr_conlines;
|
||||||
}
|
}
|
||||||
|
if (scr_con_current >= vid.height - sb_lines)
|
||||||
|
scr_copyeverything = 1;
|
||||||
|
|
||||||
if (clearconsole++ < vid.numpages)
|
if (clearconsole++ < vid.numpages)
|
||||||
Sbar_Changed ();
|
Sbar_Changed ();
|
||||||
|
|
Loading…
Reference in a new issue