diff --git a/src/events.cpp b/src/events.cpp index afa98c99d..d714eefce 100755 --- a/src/events.cpp +++ b/src/events.cpp @@ -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) diff --git a/src/events.h b/src/events.h index 46ed88b95..fa63e7325 100755 --- a/src/events.h +++ b/src/events.h @@ -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()