- 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
|
|
@ -368,8 +368,17 @@ void P_SerializeWorld (FArchive &arc)
|
|||
<< sec->planes[sector_t::ceiling]
|
||||
<< sec->heightsec
|
||||
<< sec->bottommap << sec->midmap << sec->topmap
|
||||
<< sec->gravity
|
||||
<< sec->damageamount;
|
||||
<< sec->gravity;
|
||||
if (SaveVersion >= 4529)
|
||||
{
|
||||
arc << sec->damageamount;
|
||||
}
|
||||
else
|
||||
{
|
||||
short dmg;
|
||||
arc << dmg;
|
||||
sec->damageamount = dmg;
|
||||
}
|
||||
if (SaveVersion >= 4528)
|
||||
{
|
||||
arc << sec->damageinterval
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue