- Put more floor/ceiling properties in sector_t into a substructure and
added wrapper functions. SVN r1174 (trunk)
This commit is contained in:
parent
fcdef6a0de
commit
bc5d0c882b
29 changed files with 271 additions and 246 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue