mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
Forcibly assign 0 to the additive special color
This commit is contained in:
parent
758cd77e55
commit
80bcac48ef
2 changed files with 2 additions and 0 deletions
|
@ -1096,6 +1096,7 @@ void P_LoadSectors (MapData *map, FMissingTextureTracker &missingtex)
|
|||
ss->nextsec = -1; //jff 2/26/98 add fields to support locking out
|
||||
ss->prevsec = -1; // stair retriggering until build completes
|
||||
memset(ss->SpecialColors, -1, sizeof(ss->SpecialColors));
|
||||
ss->SpecialColors[sector_t::add] = 0;
|
||||
|
||||
ss->SetAlpha(sector_t::floor, 1.);
|
||||
ss->SetAlpha(sector_t::ceiling, 1.);
|
||||
|
|
|
@ -1453,6 +1453,7 @@ public:
|
|||
sec->terrainnum[sector_t::ceiling] = sec->terrainnum[sector_t::floor] = -1;
|
||||
sec->ibocount = -1;
|
||||
memset(sec->SpecialColors, -1, sizeof(sec->SpecialColors));
|
||||
sec->SpecialColors[sector_t::add] = 0;
|
||||
if (floordrop) sec->Flags = SECF_FLOORDROP;
|
||||
// killough 3/7/98: end changes
|
||||
|
||||
|
|
Loading…
Reference in a new issue