make sure the bottom part of the console gets updated properly if it covers

the status bar.
This commit is contained in:
Bill Currie 2002-09-30 21:25:24 +00:00
parent 72bc818807
commit d7bbe82efd

View file

@ -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 ();