mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- fixed: DStaticEventHandler did not declare its pointers.
This commit is contained in:
parent
c150f9d737
commit
bfa7a2d737
2 changed files with 8 additions and 2 deletions
|
@ -449,7 +449,13 @@ DEFINE_EVENT_LOOPER(WorldLightning)
|
|||
DEFINE_EVENT_LOOPER(WorldTick)
|
||||
|
||||
// declarations
|
||||
IMPLEMENT_CLASS(DStaticEventHandler, false, false);
|
||||
IMPLEMENT_CLASS(DStaticEventHandler, false, true);
|
||||
|
||||
IMPLEMENT_POINTERS_START(DStaticEventHandler)
|
||||
IMPLEMENT_POINTER(next)
|
||||
IMPLEMENT_POINTER(prev)
|
||||
IMPLEMENT_POINTERS_END
|
||||
|
||||
IMPLEMENT_CLASS(DEventHandler, false, false);
|
||||
IMPLEMENT_CLASS(DBaseEvent, false, false)
|
||||
IMPLEMENT_CLASS(DRenderEvent, false, false)
|
||||
|
|
|
@ -76,7 +76,7 @@ void E_SerializeEvents(FSerializer& arc);
|
|||
|
||||
class DStaticEventHandler : public DObject // make it a part of normal GC process
|
||||
{
|
||||
DECLARE_CLASS(DStaticEventHandler, DObject)
|
||||
DECLARE_CLASS(DStaticEventHandler, DObject);
|
||||
HAS_OBJECT_POINTERS
|
||||
public:
|
||||
DStaticEventHandler()
|
||||
|
|
Loading…
Reference in a new issue