no longer able to scroll past the topmost line after a console clear

This commit is contained in:
myT 2017-05-17 07:13:28 +02:00
parent e4062a6c90
commit e7fc251663

View file

@ -153,6 +153,8 @@ static void Con_Clear_f( void )
con.text[i] = (COLOR_WHITE << 8) | ' ';
}
con.current = con.totallines - 1;
Con_Bottom();
}
@ -233,7 +235,7 @@ static void Con_Init()
con.linewidth = CONSOLE_WIDTH;
con.totallines = CON_TEXTSIZE / con.linewidth;
con.current = con.totallines - 1;
Con_Clear_f();
con.cw = CONCHAR_WIDTH;