aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/hotspots.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 8d4ac1ece1..9499a8293f 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -623,11 +623,11 @@ void Hotspot::doGet(HotspotData *hotspot) {
}
if (sequenceOffset != 0) {
- uint16 result = Script::execute(sequenceOffset);
+ uint16 execResult = Script::execute(sequenceOffset);
- if (result == 1) return;
- else if (result != 0) {
- Dialog::showMessage(result, hotspotId());
+ if (execResult == 1) return;
+ else if (execResult != 0) {
+ Dialog::showMessage(execResult, hotspotId());
return;
}
}