diff options
Diffstat (limited to 'engines/sword25/gfx/renderobject.cpp')
-rw-r--r-- | engines/sword25/gfx/renderobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/gfx/renderobject.cpp b/engines/sword25/gfx/renderobject.cpp index 5de6dde79e..ae8fc8cba1 100644 --- a/engines/sword25/gfx/renderobject.cpp +++ b/engines/sword25/gfx/renderobject.cpp @@ -76,9 +76,9 @@ RenderObject::RenderObject(RenderObjectPtr<RenderObject> parentPtr, TYPES type, // Renderobject registrieren, abhängig vom Handle-Parameter entweder mit beliebigem oder vorgegebenen Handle. if (handle == 0) - _handle = RenderObjectRegistry::getInstance().registerObject(this); + _handle = RenderObjectRegistry::instance().registerObject(this); else - _handle = RenderObjectRegistry::getInstance().registerObject(this, handle); + _handle = RenderObjectRegistry::instance().registerObject(this, handle); if (_handle == 0) return; @@ -110,7 +110,7 @@ RenderObject::~RenderObject() { deleteAllChildren(); // Objekt deregistrieren. - RenderObjectRegistry::getInstance().deregisterObject(this); + RenderObjectRegistry::instance().deregisterObject(this); } // Rendern |