aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 1aa3f51638..85b5bdc6bc 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -933,7 +933,7 @@ void ResourceManager::unlock(int type, int i) {
}
bool ResourceManager::isLocked(int type, int i) const {
- if (!validateResource("Unlocking", type, i))
+ if (!validateResource("isLocked", type, i))
return false;
return (flags[type][i] & RF_LOCK) != 0;
}