- made sector_t::damageamount an int so that it can hold TELEFRAG_DAMAGE.
- marked all places where sector_t::special needs to be addressed for the damage overhaul. NOTE: This commit will not compile!
This commit is contained in:
parent
1ee441412a
commit
bd8513c063
13 changed files with 44 additions and 36 deletions
|
|
@ -139,7 +139,7 @@ void DLightningThinker::LightningFlash ()
|
|||
for (i = numsectors, j = 0; i > 0; --i, ++j, ++tempSec)
|
||||
{
|
||||
// allow combination of the lightning sector specials with bit masks
|
||||
int special = tempSec->special & 0xff;
|
||||
int special = tempSec->special;
|
||||
if (tempSec->GetTexture(sector_t::ceiling) == skyflatnum
|
||||
|| special == Light_IndoorLightning1
|
||||
|| special == Light_IndoorLightning2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue