aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-22 14:20:27 +0300
committerEugene Sandulenko2019-10-22 21:13:54 +0200
commit41f81bf02e313aa92e91f528a3dad2d06cb43d31 (patch)
tree42578096dbd466898ddb63eb64bb868cdc055ac1
parent378ab7c642002d16002a030f45699fe2d00e391a (diff)
downloadscummvm-rg350-41f81bf02e313aa92e91f528a3dad2d06cb43d31.tar.gz
scummvm-rg350-41f81bf02e313aa92e91f528a3dad2d06cb43d31.tar.bz2
scummvm-rg350-41f81bf02e313aa92e91f528a3dad2d06cb43d31.zip
SCUMM HE: Hid several noisy debug messages
-rw-r--r--engines/scumm/he/moonbase/ai_main.cpp4
-rw-r--r--engines/scumm/he/moonbase/moonbase.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/he/moonbase/ai_main.cpp b/engines/scumm/he/moonbase/ai_main.cpp
index d6ab54c99d..cc19cf501a 100644
--- a/engines/scumm/he/moonbase/ai_main.cpp
+++ b/engines/scumm/he/moonbase/ai_main.cpp
@@ -2713,7 +2713,7 @@ int AI::getUnitsWithinRadius(int x, int y, int radius) {
assert(y >= 0);
assert(radius >= 0);
- debug(0, "getUnitsWithinRadius(%d, %d, %d)", x, y, radius);
+ debug(3, "getUnitsWithinRadius(%d, %d, %d)", x, y, radius);
int retVal = _vm->_moonbase->callScummFunction(_mcpParams[F_GET_UNITS_WITHIN_RADIUS], 3, x, y, radius);
return retVal;
@@ -2759,7 +2759,7 @@ int AI::energyPoolSize(int pool) {
case 63:
return 60;
-
+
default:
return 0;
}
diff --git a/engines/scumm/he/moonbase/moonbase.cpp b/engines/scumm/he/moonbase/moonbase.cpp
index 1e8c8fa557..2f99e32c2b 100644
--- a/engines/scumm/he/moonbase/moonbase.cpp
+++ b/engines/scumm/he/moonbase/moonbase.cpp
@@ -65,7 +65,7 @@ int Moonbase::callScummFunction(int scriptNumber, int paramCount,...) {
memset(args, 0, sizeof(args));
Common::String str;
- str = Common::String::format("callScummFunction(%d, [", scriptNumber);
+ str = Common::String::format("Moonbase::callScummFunction(%d, [", scriptNumber);
for (int i = 0; i < paramCount; i++) {
args[i] = va_arg(va_params, int);
@@ -74,7 +74,7 @@ int Moonbase::callScummFunction(int scriptNumber, int paramCount,...) {
}
str += "])";
- debug(0, "%s", str.c_str());
+ debug(3, "%s", str.c_str());
va_end(va_params);