diff options
author | Einar Johan Trøan Sømåen | 2012-08-07 13:51:22 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-08-07 13:51:22 +0200 |
commit | 6b159d71ab212feb4e93bae412a7352ead59241b (patch) | |
tree | c9e035ee75ab09334f20332218eab2589f712bd7 /engines/wintermute/system/sys_class_registry.cpp | |
parent | e32b79bff1260f8d2853404f750acc22209a323b (diff) | |
download | scummvm-rg350-6b159d71ab212feb4e93bae412a7352ead59241b.tar.gz scummvm-rg350-6b159d71ab212feb4e93bae412a7352ead59241b.tar.bz2 scummvm-rg350-6b159d71ab212feb4e93bae412a7352ead59241b.zip |
WINTERMUTE: Remove g_wintermute.
Diffstat (limited to 'engines/wintermute/system/sys_class_registry.cpp')
-rw-r--r-- | engines/wintermute/system/sys_class_registry.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/wintermute/system/sys_class_registry.cpp b/engines/wintermute/system/sys_class_registry.cpp index d9303ea729..b9e9bc8878 100644 --- a/engines/wintermute/system/sys_class_registry.cpp +++ b/engines/wintermute/system/sys_class_registry.cpp @@ -28,10 +28,11 @@ #include "engines/wintermute/base/base_game.h"
#include "engines/wintermute/platform_osystem.h"
-#include "engines/wintermute/wintermute.h"
+#include "engines/wintermute/base/base_engine.h"
#include "engines/wintermute/system/sys_instance.h"
#include "engines/wintermute/system/sys_class_registry.h"
#include "engines/wintermute/system/sys_class.h"
+#include "engines/wintermute/wintermute.h"
#include "common/stream.h"
namespace WinterMute {
@@ -50,7 +51,7 @@ SystemClassRegistry::~SystemClassRegistry() { //////////////////////////////////////////////////////////////////////////
SystemClassRegistry *SystemClassRegistry::getInstance() {
- return g_wintermute->getClassRegistry();
+ return BaseEngine::instance().getClassRegistry();
}
void SystemClassRegistry::unregisterClasses() {
|