diff options
author | Bastien Bouclet | 2016-08-05 20:24:59 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 67d9a3c71bb2c201fc4c43f159025fc6ea4517e7 (patch) | |
tree | 8016e59244e10104c5cef89b1c46db9582a322e4 /engines/mohawk/console.cpp | |
parent | 17f1903833491d1e80cb2091a0a0bd7dfe4280de (diff) | |
download | scummvm-rg350-67d9a3c71bb2c201fc4c43f159025fc6ea4517e7.tar.gz scummvm-rg350-67d9a3c71bb2c201fc4c43f159025fc6ea4517e7.tar.bz2 scummvm-rg350-67d9a3c71bb2c201fc4c43f159025fc6ea4517e7.zip |
MOHAWK: Make the RivenHotspot fields private
Diffstat (limited to 'engines/mohawk/console.cpp')
-rw-r--r-- | engines/mohawk/console.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp index 06c058ebcb..4be76930c5 100644 --- a/engines/mohawk/console.cpp +++ b/engines/mohawk/console.cpp @@ -514,15 +514,16 @@ bool RivenConsole::Cmd_Hotspots(int argc, const char **argv) { for (uint16 i = 0; i < _vm->_hotspots.size(); i++) { RivenHotspot *hotspot = _vm->_hotspots[i]; - debugPrintf("Hotspot %d, index %d, BLST ID %d (", i, hotspot->index, hotspot->blstID); + debugPrintf("Hotspot %d, index %d, BLST ID %d (", i, hotspot->getIndex(), hotspot->getBlstId()); if (hotspot->isEnabled()) debugPrintf("enabled"); else debugPrintf("disabled"); - debugPrintf(") - (%d, %d, %d, %d)\n", hotspot->rect.left, hotspot->rect.top, hotspot->rect.right, hotspot->rect.bottom); - debugPrintf(" Name = %s\n", _vm->getHotspotName(hotspot).c_str()); + Common::Rect rect = hotspot->getRect(); + debugPrintf(") - (%d, %d, %d, %d)\n", rect.left, rect.top, rect.right, rect.bottom); + debugPrintf(" Name = %s\n", hotspot->getName().c_str()); } return true; |