- Added teamgame fix for menu by Karate Chris.

- Added GZDoom's Sector_Outside sector type which forces outside fog
  regardless of ceiling texture.


SVN r670 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-06 10:05:24 +00:00
commit fdbd18c50e
5 changed files with 14 additions and 4 deletions

View file

@ -1084,7 +1084,7 @@ void P_LoadSectors (MapData * map)
// [RH] Sectors default to white light with the default fade.
// If they are outside (have a sky ceiling), they use the outside fog.
if (level.outsidefog != 0xff000000 && ss->ceilingpic == skyflatnum)
if (level.outsidefog != 0xff000000 && (ss->ceilingpic == skyflatnum || (ss->special&0xff) == Sector_Outside))
{
if (fogMap == NULL)
fogMap = GetSpecialLights (PalEntry (255,255,255), level.outsidefog, 0);