- Put more floor/ceiling properties in sector_t into a substructure and

added wrapper functions.


SVN r1174 (trunk)
This commit is contained in:
Christoph Oelckers 2008-08-16 20:19:35 +00:00
commit bc5d0c882b
29 changed files with 271 additions and 246 deletions

View file

@ -118,7 +118,7 @@ void DLightningThinker::LightningFlash ()
{
// allow combination of the lightning sector specials with bit masks
int special = (tempSec->special&0xff);
if (tempSec->ceilingpic == skyflatnum
if (tempSec->GetTexture(sector_t::ceiling) == skyflatnum
|| special == Light_IndoorLightning1
|| special == Light_IndoorLightning2
|| special == Light_OutdoorLightning)