aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2010-08-23 14:41:25 +0000
committerMatthew Hoops2010-08-23 14:41:25 +0000
commitc1e63b55e408ebbc3b4b969b9b7792065cb2a099 (patch)
tree059aee893bec3ce8192372909db26944fae3edd7
parentd6fc42ebc9835d5807b9c0f80abfebe8e23320a1 (diff)
downloadscummvm-rg350-c1e63b55e408ebbc3b4b969b9b7792065cb2a099.tar.gz
scummvm-rg350-c1e63b55e408ebbc3b4b969b9b7792065cb2a099.tar.bz2
scummvm-rg350-c1e63b55e408ebbc3b4b969b9b7792065cb2a099.zip
MOHAWK: Print the rect of the hotspot in the 'hotspot' command too
svn-id: r52300
-rw-r--r--engines/mohawk/console.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp
index 478565b278..446d957109 100644
--- a/engines/mohawk/console.cpp
+++ b/engines/mohawk/console.cpp
@@ -467,10 +467,11 @@ bool RivenConsole::Cmd_Hotspots(int argc, const char **argv) {
DebugPrintf("Hotspot %d, index %d, BLST ID %d (", i, _vm->_hotspots[i].index, _vm->_hotspots[i].blstID);
if (_vm->_hotspots[i].enabled)
- DebugPrintf("enabled)\n");
+ DebugPrintf("enabled");
else
- DebugPrintf("disabled)\n");
+ DebugPrintf("disabled");
+ DebugPrintf(") - (%d, %d, %d, %d)\n", _vm->_hotspots[i].rect.left, _vm->_hotspots[i].rect.top, _vm->_hotspots[i].rect.right, _vm->_hotspots[i].rect.bottom);
DebugPrintf(" Name = %s\n", _vm->getHotspotName(i).c_str());
}