mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-30 10:40:39 +00:00
- Blood: restore pointers after loading all sequences.
This commit is contained in:
parent
6a29c38240
commit
7143f62cb1
1 changed files with 4 additions and 4 deletions
|
@ -703,16 +703,16 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, SEQINST& w, SEQINS
|
||||||
("frameindex", w.frameIndex)
|
("frameindex", w.frameIndex)
|
||||||
.EndObject();
|
.EndObject();
|
||||||
}
|
}
|
||||||
if (arc.isReading())
|
|
||||||
{
|
|
||||||
w.pSequence = getSequence(w.nSeqID);
|
|
||||||
}
|
|
||||||
return arc;
|
return arc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SerializeSequences(FSerializer& arc)
|
void SerializeSequences(FSerializer& arc)
|
||||||
{
|
{
|
||||||
arc("sequences", activeList.list);
|
arc("sequences", activeList.list);
|
||||||
|
if (arc.isReading()) for (unsigned i = 0; i < activeList.list.Size(); i++)
|
||||||
|
{
|
||||||
|
activeList.list[i].pSequence = getSequence(activeList.list[i].nSeqID);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
END_BLD_NS
|
END_BLD_NS
|
||||||
|
|
Loading…
Reference in a new issue