- Changed secret sector drawing in automap so that lines with the ML_SECRET

flag are only drawn as part of a secret sector if that secret has already
  been found, even if the option is set to always show secret sectors.
- Added a NULL pointer check to WI_LoadBackground.


SVN r885 (trunk)
This commit is contained in:
Christoph Oelckers 2008-04-05 19:10:37 +00:00
commit c5333d4abb
3 changed files with 14 additions and 7 deletions

View file

@ -331,7 +331,7 @@ void WI_LoadBackground(bool isenterpic)
// If going from E1-E3 to E4 the default should be used, not the exit pic.
// Not if the exit pic is user defined!
if (level.info->exitpic[0]!=0) return;
if (level.info->exitpic != NULL && level.info->exitpic[0]!=0) return;
// E1-E3 need special treatment when playing Doom 1.
if (gamemode!=commercial)