aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/groovie/script.cpp')
-rw-r--r--engines/groovie/script.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index ea211a62f2..2ff14f2706 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -45,8 +45,8 @@ static void debugScript(int level, bool nl, const char *s, ...) {
char buf[STRINGBUFLEN];
va_list va;
- if (!Common::isDebugChannelEnabled(kGroovieDebugScript) &&
- !Common::isDebugChannelEnabled(kGroovieDebugAll))
+ if (!DebugMan.isDebugChannelEnabled(kGroovieDebugScript) &&
+ !DebugMan.isDebugChannelEnabled(kGroovieDebugAll))
return;
va_start(va, s);
@@ -357,8 +357,8 @@ bool Script::hotspot(Common::Rect rect, uint16 address, uint8 cursor) {
bool contained = rect.contains(mousepos);
// Show hotspots when debugging
- if (Common::isDebugChannelEnabled(kGroovieDebugHotspots) ||
- Common::isDebugChannelEnabled(kGroovieDebugAll)) {
+ if (DebugMan.isDebugChannelEnabled(kGroovieDebugHotspots) ||
+ DebugMan.isDebugChannelEnabled(kGroovieDebugAll)) {
rect.translate(0, -80);
_vm->_graphicsMan->_foreground.frameRect(rect, 250);
_vm->_system->copyRectToScreen((byte*)_vm->_graphicsMan->_foreground.getBasePtr(0, 0), _vm->_graphicsMan->_foreground.pitch, 0, 80, 640, 320);