aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/variable.cpp
diff options
context:
space:
mode:
authorSimei Yin2017-07-18 19:50:45 +0200
committerSimei Yin2017-07-20 00:43:16 +0200
commit53542073b9d9516396b1de1d883dc0192a66043b (patch)
tree31af36fdd6c7ba11c761e24a2826dfaa485dc549 /engines/sludge/variable.cpp
parent103602250762e31fc62c6e42e694a5ea317d295b (diff)
downloadscummvm-rg350-53542073b9d9516396b1de1d883dc0192a66043b.tar.gz
scummvm-rg350-53542073b9d9516396b1de1d883dc0192a66043b.tar.bz2
scummvm-rg350-53542073b9d9516396b1de1d883dc0192a66043b.zip
SLUDGE: Objectify object manager
Diffstat (limited to 'engines/sludge/variable.cpp')
-rw-r--r--engines/sludge/variable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/variable.cpp b/engines/sludge/variable.cpp
index b445095630..5b03dadda8 100644
--- a/engines/sludge/variable.cpp
+++ b/engines/sludge/variable.cpp
@@ -310,7 +310,7 @@ Common::String getTextFromAnyVar(const variable &from) {
}
case SVT_OBJTYPE: {
- objectType *thisType = findObjectType(from.varData.intValue);
+ ObjectType *thisType = g_sludge->_objMan->findObjectType(from.varData.intValue);
if (thisType)
return thisType->screenName;
break;