- added a pseudo-serializer for FLevelLocals pointers.
This doesn't really write out any info for the pointer, if the level does not match it just errors out. This is both for quick detection of badly used level data and for automatic restoring of the pointer from the serializer's working level. This also removed the temporary workarounds in DAutomap and DLevelScript to restore these pointers when a savegame is loaded.
This commit is contained in:
parent
e5139cc325
commit
9b1b6db85d
12 changed files with 152 additions and 90 deletions
|
|
@ -3205,7 +3205,8 @@ void DAutomap::Serialize(FSerializer &arc)
|
|||
("max_h", max_h)
|
||||
("min_scale_mtof", min_scale_mtof)
|
||||
("max_scale_mtof", max_scale_mtof)
|
||||
("mapback", mapback);
|
||||
("mapback", mapback)
|
||||
("level", Level);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue