From bfa7a2d737c654da06eba8b7a59bedeaabb8c65a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 26 Feb 2017 10:58:22 +0100 Subject: [PATCH] - fixed: DStaticEventHandler did not declare its pointers. --- src/events.cpp | 8 +++++++- src/events.h | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) 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()