mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- fixed default alpha for sector colors
It has to be 0, not 255.
This commit is contained in:
parent
23a84994f5
commit
ddf5e009e5
1 changed files with 2 additions and 2 deletions
|
@ -2440,7 +2440,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;
|
||||
|
@ -2453,7 +2453,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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue