- after realizing that changing the sector's MOD variable to an FNameNoInit doesn't do anything bad, I just went ahead and got rid of the last place in the engine that still used this data type for internal storage.
This commit is contained in:
parent
5d388f8e63
commit
3e13e772ef
4 changed files with 10 additions and 7 deletions
|
|
@ -369,15 +369,18 @@ void P_SerializeWorld (FArchive &arc)
|
|||
<< sec->heightsec
|
||||
<< sec->bottommap << sec->midmap << sec->topmap
|
||||
<< sec->gravity
|
||||
<< sec->damageamount
|
||||
<< sec->damagemod;
|
||||
<< sec->damageamount;
|
||||
if (SaveVersion >= 4528)
|
||||
{
|
||||
arc << sec->damageinterval
|
||||
<< sec->leakydamage;
|
||||
<< sec->leakydamage
|
||||
<< sec->damagetype;
|
||||
}
|
||||
else
|
||||
{
|
||||
short damagemod;
|
||||
arc << damagemod;
|
||||
sec->damagetype = MODtoDamageType(damagemod);
|
||||
if (sec->damageamount < 20)
|
||||
{
|
||||
sec->leakydamage = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue