- added menu entries for HUD flash options.

SVN r3614 (trunk)
This commit is contained in:
Christoph Oelckers 2012-05-01 18:20:04 +00:00
commit 5dbf486806
4 changed files with 26 additions and 7 deletions

View file

@ -153,7 +153,7 @@ void V_AddPlayerBlend (player_t *CPlayer, float blend[4], float maxinvalpha, int
if (CPlayer->poisoncount)
{
cnt = MIN (CPlayer->poisoncount, 64);
if (paletteflash & PF_SPECIALDAMAGE)
if (paletteflash & PF_POISON)
{
V_AddBlend(44/255.f, 92/255.f, 36/255.f, ((cnt + 7) >> 3) * 0.1f, blend);
}
@ -182,7 +182,7 @@ void V_AddPlayerBlend (player_t *CPlayer, float blend[4], float maxinvalpha, int
if (CPlayer->mo->DamageType == NAME_Ice)
{
if (paletteflash & PF_SPECIALDAMAGE)
if (paletteflash & PF_ICE)
{
V_AddBlend(0.f, 0.f, 224/255.f, 0.5f, blend);
}