aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-02-13 11:11:16 +0000
committerTravis Howell2004-02-13 11:11:16 +0000
commit2e672086da5cdd8e1c0c457fdde5218565243c22 (patch)
tree93f3ce295bf628b2ae343268aacba1b06a8de135
parent154bd9e3c59ace5712ea5475d8142c69db387826 (diff)
downloadscummvm-rg350-2e672086da5cdd8e1c0c457fdde5218565243c22.tar.gz
scummvm-rg350-2e672086da5cdd8e1c0c457fdde5218565243c22.tar.bz2
scummvm-rg350-2e672086da5cdd8e1c0c457fdde5218565243c22.zip
Switch warnings to debug
svn-id: r12847
-rw-r--r--scumm/object.cpp2
-rw-r--r--scumm/string.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index e5ad18080e..fe0a7ad449 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -1274,7 +1274,7 @@ void ScummEngine::setObjectState(int obj, int state, int x, int y) {
i = getObjectIndex(obj);
if (i == -1) {
- warning("setObjectState: no such object %d", obj);
+ debug(1, "setObjectState: no such object %d", obj);
return;
}
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 8bad5d1d7a..3a170986ee 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -453,7 +453,7 @@ void ScummEngine::drawString(int a) {
// Sam and Max seems to blitAlso 32 a lot, which does
// nothing anyway. So just hide that one for brevity.
if (c != 32)
- warning("Would have set _charset->_blitAlso = true (wanted to print '%c' = %d)", c, c);
+ debug(1, "Would have set _charset->_blitAlso = true (wanted to print '%c' = %d)", c, c);
_charset->_blitAlso = true;
}
}