mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
We don't want to store event objects in savegames.
This commit is contained in:
parent
066b22af0a
commit
e74cd9883d
1 changed files with 2 additions and 0 deletions
|
@ -111,6 +111,8 @@ public:
|
||||||
// since from what I remember object creation and deletion results in a lot of GC processing
|
// since from what I remember object creation and deletion results in a lot of GC processing
|
||||||
// (and we aren't supposed to pass event objects around anyway)
|
// (and we aren't supposed to pass event objects around anyway)
|
||||||
this->ObjectFlags |= OF_Fixed;
|
this->ObjectFlags |= OF_Fixed;
|
||||||
|
// we don't want to store events into the savegames because they are global.
|
||||||
|
this->ObjectFlags |= OF_Transient;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue