mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +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)
|
("scrolls", Scrolls)
|
||||||
("automap", automap)
|
("automap", automap)
|
||||||
("interpolator", interpolator)
|
("interpolator", interpolator)
|
||||||
("frozenstate", frozenstate)
|
("frozenstate", frozenstate);
|
||||||
("sndseqlisthead", SequenceListHead);
|
|
||||||
|
|
||||||
|
|
||||||
// Hub transitions must keep the current total time
|
// Hub transitions must keep the current total time
|
||||||
|
@ -1003,6 +1002,8 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
|
||||||
canvasTextureInfo.Serialize(arc);
|
canvasTextureInfo.Serialize(arc);
|
||||||
SerializePlayers(arc, hubload);
|
SerializePlayers(arc, hubload);
|
||||||
SerializeSounds(arc);
|
SerializeSounds(arc);
|
||||||
|
arc("sndseqlisthead", SequenceListHead);
|
||||||
|
|
||||||
|
|
||||||
// Regenerate some data that wasn't saved
|
// Regenerate some data that wasn't saved
|
||||||
if (arc.isReading())
|
if (arc.isReading())
|
||||||
|
|
Loading…
Reference in a new issue