aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2006-04-11 22:11:12 +0000
committerEugene Sandulenko2006-04-11 22:11:12 +0000
commit9610a4daefb6717dacefc4fc428faf6a23529c9e (patch)
treecbbb87f025f428643fc2a6fd7f4cb7246fa5f207
parenta677541ac8748b41cc96fa385f153e730676d769 (diff)
downloadscummvm-rg350-9610a4daefb6717dacefc4fc428faf6a23529c9e.tar.gz
scummvm-rg350-9610a4daefb6717dacefc4fc428faf6a23529c9e.tar.bz2
scummvm-rg350-9610a4daefb6717dacefc4fc428faf6a23529c9e.zip
Fix warning.
svn-id: r21810
-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;
}
}