diff options
Diffstat (limited to 'engines/sword25')
-rw-r--r-- | engines/sword25/gfx/renderobjectregistry.h | 2 | ||||
-rw-r--r-- | engines/sword25/sword25.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/sword25/gfx/renderobjectregistry.h b/engines/sword25/gfx/renderobjectregistry.h index af63c746cb..988b676aa8 100644 --- a/engines/sword25/gfx/renderobjectregistry.h +++ b/engines/sword25/gfx/renderobjectregistry.h @@ -51,6 +51,4 @@ class RenderObjectRegistry : } // End of namespace Sword25 -DECLARE_SINGLETON(Sword25::RenderObjectRegistry); - #endif diff --git a/engines/sword25/sword25.cpp b/engines/sword25/sword25.cpp index f7be658654..55b9aa340d 100644 --- a/engines/sword25/sword25.cpp +++ b/engines/sword25/sword25.cpp @@ -45,6 +45,7 @@ #include "sword25/gfx/animationtemplateregistry.h" // Needed so we can destroy the singleton #include "sword25/gfx/renderobjectregistry.h" // Needed so we can destroy the singleton +DECLARE_SINGLETON(Sword25::RenderObjectRegistry); #include "sword25/math/regionregistry.h" // Needed so we can destroy the singleton namespace Sword25 { |