- Fixed: With hardware 2D, the console and menu need not reimplement palette

flashes to ensure their visibility.
- Fixed: DFlashFader::Destroy() did not call its super method.


SVN r985 (trunk)
This commit is contained in:
Randy Heit 2008-05-21 01:47:34 +00:00
commit befdd0b41f
5 changed files with 7 additions and 3 deletions

View file

@ -1478,7 +1478,7 @@ void DBaseStatusBar::BlendView (float blend[4])
AddBlend (0.25f, 0.25f, 0.853f, 0.4f, blend);
}
if (CPlayer->camera != NULL && menuactive == MENU_Off && ConsoleState == c_up)
if (screen->Accel2D || (CPlayer->camera != NULL && menuactive == MENU_Off && ConsoleState == c_up))
{
player_t *player = (CPlayer->camera->player != NULL) ? CPlayer->camera->player : CPlayer;
AddBlend (player->BlendR, player->BlendG, player->BlendB, player->BlendA, blend);