aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/debug-methods.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/debug-methods.cpp b/engines/lure/debug-methods.cpp
index 2fda7a57dc..85be551bc7 100644
--- a/engines/lure/debug-methods.cpp
+++ b/engines/lure/debug-methods.cpp
@@ -61,10 +61,10 @@ void showActiveHotspots() {
s += strlen(s);
sprintf(s, "h pos=(%d,%d,%d) size=(%d,%d) - ",
- h.resource().roomNumber, h.x(), h.y(), h.width(), h.height());
+ h.roomNumber(), h.x(), h.y(), h.width(), h.height());
s += strlen(s);
- uint16 nameId = h.resource().nameId;
+ uint16 nameId = h.nameId();
if (nameId != 0) {
StringData::getReference().getString(nameId, s, NULL, NULL);
s += strlen(s);