- Fixed: When Heretic's Mace was replaced by a non-child class A_SpawnMace still
treated it as a mace and wrote into some undefined memory. - Fixed: A_BishopMissileWeave didn't initialize special2 for proper movement. - Added a speed parameter to A_SkullAttack. - Fixed: Black as first or only blood color didn't work. - Fixed: Sounds played in wi_stuff.cpp and f_finale.cpp need the CHAN_UI flag. - Fixed: Spawning a player could play the *gasp sound. - Fixed: SBARINFO's health display didn't scale to the proper maximum. - Added Skulltag's Teleport_NoStop action special. SVN r1074 (trunk)
This commit is contained in:
parent
a5c52d8371
commit
5dc42121b7
19 changed files with 143 additions and 84 deletions
|
|
@ -1537,6 +1537,13 @@ static void ActorBloodColor (FScanner &sc, AActor *defaults, Baggage &bag)
|
|||
}
|
||||
PalEntry pe = MAKERGB(r,g,b);
|
||||
pe.a = CreateBloodTranslation(sc, pe);
|
||||
if (DWORD(pe) == 0)
|
||||
{
|
||||
// If black is the first color being created it will create a value of 0
|
||||
// which stands for 'no translation'
|
||||
// Using (1,1,1) instead of (0,0,0) won't be noticable.
|
||||
pe = MAKERGB(1,1,1);
|
||||
}
|
||||
bag.Info->Class->Meta.SetMetaInt (AMETA_BloodColor, pe);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue