aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/input/inputengine_script.cpp
diff options
context:
space:
mode:
authorMax Horn2010-10-13 15:41:00 +0000
committerMax Horn2010-10-13 15:41:00 +0000
commit8f4f0d16fc4e5cd4803203f2aaeb0ddc99e57204 (patch)
treeb39380c6702b11d88ba2b95d7d0db9fc9afd62d9 /engines/sword25/input/inputengine_script.cpp
parent17f9913a2419c558276a191be07a45ba8f8fc87f (diff)
downloadscummvm-rg350-8f4f0d16fc4e5cd4803203f2aaeb0ddc99e57204.tar.gz
scummvm-rg350-8f4f0d16fc4e5cd4803203f2aaeb0ddc99e57204.tar.bz2
scummvm-rg350-8f4f0d16fc4e5cd4803203f2aaeb0ddc99e57204.zip
SWORD25: Renamed getInstance() -> instance()
svn-id: r53430
Diffstat (limited to 'engines/sword25/input/inputengine_script.cpp')
-rw-r--r--engines/sword25/input/inputengine_script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/input/inputengine_script.cpp b/engines/sword25/input/inputengine_script.cpp
index 38ecc3cf56..bb48a7ade9 100644
--- a/engines/sword25/input/inputengine_script.cpp
+++ b/engines/sword25/input/inputengine_script.cpp
@@ -97,8 +97,8 @@ Common::SharedPtr<CommandCallbackClass> CommandCallbackPtr;
struct CallbackfunctionRegisterer {
CallbackfunctionRegisterer() {
- CallbackRegistry::getInstance().registerCallbackFunction("LuaCommandCB", TheCommandCallback);
- CallbackRegistry::getInstance().registerCallbackFunction("LuaCharacterCB", TheCharacterCallback);
+ CallbackRegistry::instance().registerCallbackFunction("LuaCommandCB", TheCommandCallback);
+ CallbackRegistry::instance().registerCallbackFunction("LuaCharacterCB", TheCharacterCallback);
}
};
static CallbackfunctionRegisterer Instance;