mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed DACSThinker did not save its LastScript member.
This was probably responsible for some weird behavior recently, but with the addition of the OF_Transient flag this outright crashed because it left NULL pointers on reload in places where they weren't checked for.
This commit is contained in:
parent
5ba5da0dcc
commit
93ec6eb92e
1 changed files with 2 additions and 1 deletions
|
@ -2907,7 +2907,8 @@ FSerializer &Serialize(FSerializer &arc, const char *key, SavingRunningscript &r
|
|||
void DACSThinker::Serialize(FSerializer &arc)
|
||||
{
|
||||
Super::Serialize(arc);
|
||||
arc("scripts", Scripts);
|
||||
arc("scripts", Scripts)
|
||||
("lastscript", LastScript);
|
||||
|
||||
if (arc.isWriting())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue