- fixed default alpha for sector colors

It has to be 0, not 255.

# Conflicts:
#	src/p_lnspec.cpp
This commit is contained in:
Christoph Oelckers 2019-01-17 01:05:09 +01:00
parent f22121a9df
commit dd2ea206f9
1 changed files with 2 additions and 2 deletions

View File

@ -2433,7 +2433,7 @@ FUNC(LS_Sector_SetColor)
int secnum;
while ((secnum = itr.Next()) >= 0)
{
level.sectors[secnum].SetColor(PalEntry(255, arg1, arg2, arg3), arg4);
level.sectors[secnum].SetColor(PalEntry(arg1, arg2, arg3), arg4);
}
return true;
@ -2446,7 +2446,7 @@ FUNC(LS_Sector_SetFade)
int secnum;
while ((secnum = itr.Next()) >= 0)
{
level.sectors[secnum].SetFade(PalEntry(255, arg1, arg2, arg3));
level.sectors[secnum].SetFade(PalEntry(arg1, arg2, arg3));
}
return true;
}