aboutsummaryrefslogtreecommitdiff
path: root/scumm/scummvm.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-04 02:10:49 +0000
committerMax Horn2003-05-04 02:10:49 +0000
commit488d5fe351d4546023770cfee3e2bd76973614c7 (patch)
treee6cd22e539cdb87ddb5f5a8aa210cbad064d0034 /scumm/scummvm.cpp
parent3b77249ab073515832eb8b2d628ba71d9fd1655c (diff)
downloadscummvm-rg350-488d5fe351d4546023770cfee3e2bd76973614c7.tar.gz
scummvm-rg350-488d5fe351d4546023770cfee3e2bd76973614c7.tar.bz2
scummvm-rg350-488d5fe351d4546023770cfee3e2bd76973614c7.zip
more v2 fixes; cleanup
svn-id: r7301
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r--scumm/scummvm.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 3ae999289d..d8c7c7f0cf 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1746,9 +1746,7 @@ Actor *Scumm::derefActor(int id) {
Actor *Scumm::derefActorSafe(int id, const char *errmsg) {
if (id < 1 || id >= NUM_ACTORS) {
- if (_debugLevel > 1)
- warning
- ("Invalid actor %d in %s (script %d, opcode 0x%x) - This is potentially a BIG problem.",
+ debug(2, "Invalid actor %d in %s (script %d, opcode 0x%x) - This is potentially a BIG problem.",
id, errmsg, vm.slot[_curExecScript].number, _opcode);
return NULL;
}