aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/variable.cpp
diff options
context:
space:
mode:
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 5537377869..8ed2297008 100644
--- a/engines/sludge/variable.cpp
+++ b/engines/sludge/variable.cpp
@@ -303,7 +303,7 @@ Common::String getTextFromAnyVar(const Variable &from) {
}
case SVT_FILE: {
- return resourceNameFromNum(from.varData.intValue);
+ return g_sludge->_resMan->resourceNameFromNum(from.varData.intValue);
}
case SVT_OBJTYPE: {