aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/script
diff options
context:
space:
mode:
authorMax Horn2010-10-15 12:18:19 +0000
committerMax Horn2010-10-15 12:18:19 +0000
commit550073ee049ba30d84cb76c82fb18c045b07569f (patch)
tree0b67327d8f27969c6a6ebd1971fafee6cd7b70d9 /engines/sword25/script
parent2b5de8c8921d8ec012c689597870e5ae781e3b81 (diff)
downloadscummvm-rg350-550073ee049ba30d84cb76c82fb18c045b07569f.tar.gz
scummvm-rg350-550073ee049ba30d84cb76c82fb18c045b07569f.tar.bz2
scummvm-rg350-550073ee049ba30d84cb76c82fb18c045b07569f.zip
SWORD25: Do not use Kernel::GetService directly anymore
svn-id: r53477
Diffstat (limited to 'engines/sword25/script')
-rw-r--r--engines/sword25/script/luascript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/script/luascript.cpp b/engines/sword25/script/luascript.cpp
index 82166f7c25..6c01ca1de5 100644
--- a/engines/sword25/script/luascript.cpp
+++ b/engines/sword25/script/luascript.cpp
@@ -159,7 +159,7 @@ bool LuaScriptEngine::executeFile(const Common::String &fileName) {
debug(2, "LuaScriptEngine::executeFile(%s)", fileName.c_str());
// Get a pointer to the package manager
- PackageManager *pPackage = static_cast<PackageManager *>(Kernel::GetInstance()->GetService("package"));
+ PackageManager *pPackage = Kernel::GetInstance()->GetPackage();
BS_ASSERT(pPackage);
// File read