Forcibly assign 0 to the additive special color

This commit is contained in:
Kevin Caccamo 2018-12-19 11:32:53 -05:00 committed by Christoph Oelckers
commit 80bcac48ef
2 changed files with 2 additions and 0 deletions

View file

@ -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