- Blends created with the ACS fade commands now degrade to transparent overlays

when the menu is visible, so they can no longer obscure the menu.


SVN r87 (trunk)
This commit is contained in:
Randy Heit 2006-05-09 00:28:01 +00:00
commit 201e17082c
6 changed files with 34 additions and 8 deletions

View file

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