Preserve line locknumber in savegames.

This commit is contained in:
Marisa Kirisame 2018-10-16 13:02:14 +02:00 committed by Rachael Alexanderson
parent 54d9ec11a8
commit 1e6454598c
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, line_t &line, line_t *
("alpha", line.alpha, def->alpha) ("alpha", line.alpha, def->alpha)
.Args("args", line.args, def->args, line.special) .Args("args", line.args, def->args, line.special)
("portalindex", line.portalindex, def->portalindex) ("portalindex", line.portalindex, def->portalindex)
("locknumber", line.locknumber, def->locknumber)
// Unless the map loader is changed the sidedef references will not change between map loads so there's no need to save them. // Unless the map loader is changed the sidedef references will not change between map loads so there's no need to save them.
//.Array("sides", line.sidedef, 2) //.Array("sides", line.sidedef, 2)
.EndObject(); .EndObject();