diff options
author | Torbjörn Andersson | 2005-10-18 08:56:14 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-10-18 08:56:14 +0000 |
commit | 62a59b2d46d2f92f3c6b3869ddbd4b4cf955bf56 (patch) | |
tree | 072a101f97d528cc0e5733d85824c73617f522c1 | |
parent | 26ad88ec23157f322521aefd3f632759d1816a4a (diff) | |
download | scummvm-rg350-62a59b2d46d2f92f3c6b3869ddbd4b4cf955bf56.tar.gz scummvm-rg350-62a59b2d46d2f92f3c6b3869ddbd4b4cf955bf56.tar.bz2 scummvm-rg350-62a59b2d46d2f92f3c6b3869ddbd4b4cf955bf56.zip |
Minor error message fix: isLocked() isn't trying to unlock the resource.
svn-id: r19149
-rw-r--r-- | scumm/resource.cpp | 2 |
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; } |