- converted half of ClericHoly. (Making a commit before starting on the more complex stuff.)
- added a 'constructor' for color values.
This commit is contained in:
parent
bc1e4eff72
commit
177aa6ec42
17 changed files with 455 additions and 368 deletions
|
|
@ -104,7 +104,7 @@ void V_AddPlayerBlend (player_t *CPlayer, float blend[4], float maxinvalpha, int
|
|||
// [RH] All powerups can affect the screen blending now
|
||||
for (AInventory *item = CPlayer->mo->Inventory; item != NULL; item = item->Inventory)
|
||||
{
|
||||
PalEntry color = item->GetBlend ();
|
||||
PalEntry color = item->CallGetBlend ();
|
||||
if (color.a != 0)
|
||||
{
|
||||
V_AddBlend (color.r/255.f, color.g/255.f, color.b/255.f, color.a/255.f, blend);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue