- 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
parent f1c41539de
commit 64ad1d14af
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,6 @@
January 22, 2007
- Fixed: The simulated palette blend used when the console is down needs to
force a full screen update the next frame.
- Fixed: LocalViewPitch could overflow and wrap around when a netgame stalls.
- Changed the vertheight and rounding-error-checking code in
DCanvas::DrawTexture() to calculate off the actual bottom of the image

View file

@ -1217,8 +1217,13 @@ void C_DrawConsole ()
{
player = player->camera->player;
}
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 ();
}
}
}