mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11: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)
|
||||
.EndObject();
|
||||
}
|
||||
if (arc.isReading())
|
||||
{
|
||||
w.pSequence = getSequence(w.nSeqID);
|
||||
}
|
||||
return arc;
|
||||
}
|
||||
|
||||
void SerializeSequences(FSerializer& arc)
|
||||
{
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue