aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kscripts.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-28 09:21:58 +0000
committerFilippos Karapetis2010-07-28 09:21:58 +0000
commitbae197c489346f7373a5f6b877456eaa1b2530d8 (patch)
treeb18d4e4aee380e02569430fb31966c3d155f34dd /engines/sci/engine/kscripts.cpp
parent817170bbb6b1f889063bebbf3e5694d57dadee00 (diff)
downloadscummvm-rg350-bae197c489346f7373a5f6b877456eaa1b2530d8.tar.gz
scummvm-rg350-bae197c489346f7373a5f6b877456eaa1b2530d8.tar.bz2
scummvm-rg350-bae197c489346f7373a5f6b877456eaa1b2530d8.zip
SCI: Changed a warning into debug output
svn-id: r51409
Diffstat (limited to 'engines/sci/engine/kscripts.cpp')
-rw-r--r--engines/sci/engine/kscripts.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp
index 0286f7454a..e211867ef9 100644
--- a/engines/sci/engine/kscripts.cpp
+++ b/engines/sci/engine/kscripts.cpp
@@ -104,8 +104,10 @@ reg_t kLock(EngineState *s, int argc, reg_t *argv) {
if (id.getType() == kResourceTypeInvalid)
warning("[resMan] Attempt to unlock resource %i of invalid type %i", id.getNumber(), type);
else
- // Happens in CD games (e.g. LSL6CD) with the message resource
- warning("[resMan] Attempt to unlock non-existant resource %s", id.toString().c_str());
+ // Happens in CD games (e.g. LSL6CD) with the message
+ // resource. It isn't fatal, and it's usually caused
+ // by leftover scripts.
+ debugC(2, kDebugLevelResMan, "[resMan] Attempt to unlock non-existant resource %s", id.toString().c_str());
}
}
break;