mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- fixed: Sound sequences must be serialized after the sounds.
Otherwise their data gets reset by the sound initialization.
This commit is contained in:
parent
d40ed5c587
commit
8a243cf084
1 changed files with 3 additions and 2 deletions
|
@ -960,8 +960,7 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
|
|||
("scrolls", Scrolls)
|
||||
("automap", automap)
|
||||
("interpolator", interpolator)
|
||||
("frozenstate", frozenstate)
|
||||
("sndseqlisthead", SequenceListHead);
|
||||
("frozenstate", frozenstate);
|
||||
|
||||
|
||||
// Hub transitions must keep the current total time
|
||||
|
@ -1003,6 +1002,8 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
|
|||
canvasTextureInfo.Serialize(arc);
|
||||
SerializePlayers(arc, hubload);
|
||||
SerializeSounds(arc);
|
||||
arc("sndseqlisthead", SequenceListHead);
|
||||
|
||||
|
||||
// Regenerate some data that wasn't saved
|
||||
if (arc.isReading())
|
||||
|
|
Loading…
Reference in a new issue