mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-03 02:30:53 +00:00
- Update to ZDoom r718
- Added ModPlug as an option to play MOD music because FMOD is not that good for it. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@4 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
f18564933d
commit
179ea921f9
214 changed files with 46506 additions and 12448 deletions
|
@ -1437,7 +1437,18 @@ void FBaseStatusBar::BlendView (float blend[4])
|
|||
if (cnt > 228)
|
||||
cnt = 228;
|
||||
|
||||
AddBlend (1.f, 0.f, 0.f, cnt / 255.f, blend);
|
||||
APlayerPawn *mo = players[consoleplayer].mo;
|
||||
|
||||
// [CW] If no damage fade is specified, assume defaults.
|
||||
if (!mo->HasDamageFade)
|
||||
{
|
||||
mo->HasDamageFade = true;
|
||||
mo->RedDamageFade = 255;
|
||||
mo->GreenDamageFade = 0;
|
||||
mo->BlueDamageFade = 0;
|
||||
}
|
||||
|
||||
AddBlend (mo->RedDamageFade / 255, mo->GreenDamageFade / 255, mo->BlueDamageFade / 255, cnt / 255.f, blend);
|
||||
}
|
||||
|
||||
// Unlike Doom, I did not have any utility source to look at to find the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue