force console alpha to 1 if not rendering the world

This commit is contained in:
Bill Currie 2001-02-09 19:15:37 +00:00
parent 435c588e37
commit 44c9371b4f

View file

@ -685,7 +685,7 @@ Draw_ConsoleBackground (int lines)
ofs = (vid.conheight - lines) / (float) vid.conheight;
y = vid.height * scr_consize->value;
if (lines > y) {
if (cls.state != ca_active || lines > y) {
alpha = 1.0;
} else {
// set up to draw alpha console