- Fixed: The simulated palette blend used when the console is down needs to

force a full screen update the next frame.


SVN r460 (trunk)
This commit is contained in:
Randy Heit 2007-01-22 23:55:46 +00:00
commit 64ad1d14af
2 changed files with 9 additions and 2 deletions

View file

@ -1217,8 +1217,13 @@ void C_DrawConsole ()
{
player = player->camera->player;
}
screen->Dim (PalEntry ((unsigned char)(player->BlendR*255), (unsigned char)(player->BlendG*255), (unsigned char)(player->BlendB*255)),
player->BlendA, 0, ConBottom, screen->GetWidth(), screen->GetHeight() - ConBottom);
if (player->BlendA != 0)
{
screen->Dim (PalEntry ((unsigned char)(player->BlendR*255), (unsigned char)(player->BlendG*255), (unsigned char)(player->BlendB*255)),
player->BlendA, 0, ConBottom, screen->GetWidth(), screen->GetHeight() - ConBottom);
SB_state = screen->GetPageCount ();
BorderNeedRefresh = screen->GetPageCount ();
}
}
}