From dd2ea206f9aada92093123b18279ba85b8e8fb06 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 17 Jan 2019 01:05:09 +0100 Subject: [PATCH] - fixed default alpha for sector colors It has to be 0, not 255. # Conflicts: # src/p_lnspec.cpp --- src/p_lnspec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_lnspec.cpp b/src/p_lnspec.cpp index 92950456cf..be79b0079f 100644 --- a/src/p_lnspec.cpp +++ b/src/p_lnspec.cpp @@ -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; }