aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-08-20 07:38:33 +0000
committerFilippos Karapetis2010-08-20 07:38:33 +0000
commit849ccc9eab10e74886f20ed8d407783676bc6230 (patch)
treedb3a4ae6b131b78f6ade99894eced8c3a153f822
parent4625defaa46b438a0e70365773f9c54e887149b0 (diff)
downloadscummvm-rg350-849ccc9eab10e74886f20ed8d407783676bc6230.tar.gz
scummvm-rg350-849ccc9eab10e74886f20ed8d407783676bc6230.tar.bz2
scummvm-rg350-849ccc9eab10e74886f20ed8d407783676bc6230.zip
SCI: Changed a warning into a debugC
svn-id: r52220
-rw-r--r--engines/sci/engine/kfile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index 39c32ccc68..e6036f3be5 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -744,7 +744,8 @@ reg_t kFileIOOpen(EngineState *s, int argc, reg_t *argv) {
}
if (name.empty()) {
- warning("Attempted to open a file with an empty filename");
+ // Happens many times during KQ1 (e.g. when typing something)
+ debugC(2, kDebugLevelFile, "Attempted to open a file with an empty filename");
return SIGNAL_REG;
}
debugC(2, kDebugLevelFile, "kFileIO(open): %s, 0x%x", name.c_str(), mode);