mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- fixed Doom64 style lighting.
The check for the presence of Doom64 style lighting was done too early before the line lists in the sector were created.
This commit is contained in:
parent
4253fb6b4a
commit
8b3c03d416
2 changed files with 2 additions and 5 deletions
|
@ -3245,6 +3245,8 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
|
|||
{
|
||||
if (sec.floorplane.isSlope()) sec.reflect[sector_t::floor] = 0;
|
||||
if (sec.ceilingplane.isSlope()) sec.reflect[sector_t::ceiling] = 0;
|
||||
|
||||
sec.CheckExColorFlag();
|
||||
}
|
||||
for (auto &node : Level->nodes)
|
||||
{
|
||||
|
|
|
@ -2312,11 +2312,6 @@ public:
|
|||
|
||||
// Create the real linedefs and decompress the sidedefs
|
||||
ProcessLineDefs();
|
||||
// enable the excolor flag on all sidedefs which need it for a gradient transfer from the sector.
|
||||
for (auto& sec : Level->sectors)
|
||||
{
|
||||
sec.CheckExColorFlag();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue