- added new sector special 195 to set the 'hidden' sector flag in non-UDMF maps.

SVN r2637 (trunk)
This commit is contained in:
Christoph Oelckers 2010-08-29 12:20:35 +00:00
commit c304b39ecc
4 changed files with 14 additions and 4 deletions

View file

@ -114,8 +114,9 @@ typedef enum {
sDamage_SuperHellslime = 116,
Scroll_StrifeCurrent = 118,
// Caverns of Darkness healing sector
Sector_Heal = 196,
Sector_Hidden = 195,
Sector_Heal = 196, // Caverns of Darkness healing sector
Light_OutdoorLightning = 197,
Light_IndoorLightning1 = 198,

View file

@ -1104,6 +1104,11 @@ void P_SpawnSpecials (void)
0, -1, int(sector-sectors), 0);
break;
case Sector_Hidden:
sector->MoreFlags |= SECF_HIDDEN;
sector->special &= 0xff00;
break;
default:
if ((sector->special & 0xff) >= Scroll_North_Slow &&
(sector->special & 0xff) <= Scroll_SouthWest_Fast)