aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/hotspots.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index cdbf0fb603..52ec5700b2 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -1251,9 +1251,9 @@ void Hotspot::doAction() {
void Hotspot::doAction(Action action, HotspotData *hotspot) {
StringList &stringList = Resources::getReference().stringList();
- int hotspotId = _hotspotId;
+ int charId = _hotspotId;
debugC(ERROR_INTERMEDIATE, kLureDebugHotspots, "Action charId=%xh Action=%d/%s",
- hotspotId, (int)action, (action > EXAMINE) ? NULL : stringList.getString((int)action));
+ charId, (int)action, (action > EXAMINE) ? NULL : stringList.getString((int)action));
// Set the ACTIVE_HOTSPOT_ID and USE_HOTSPOT_ID fields
if (hotspot != NULL) {
@@ -1375,7 +1375,7 @@ void Hotspot::doAction(Action action, HotspotData *hotspot) {
}
debugC(ERROR_DETAILED, kLureDebugHotspots, "Action charId=%xh Action=%d/%s Complete",
- hotspotId, (int)action, (action > EXAMINE) ? NULL : stringList.getString((int)action));
+ charId, (int)action, (action > EXAMINE) ? NULL : stringList.getString((int)action));
}
void Hotspot::doNothing(HotspotData *hotspot) {