diff options
-rw-r--r-- | engines/lure/hotspots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index 7c8183ba77..fbe80235fe 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -2017,7 +2017,7 @@ void Hotspot::npcSupportOffsetConditional(HotspotData *hotspot) { _currentActions.top().setSupportData(newEntry); HotspotData *hotspotData = (newEntry->numParams() == 0) ? NULL : res.getHotspot( - (newEntry->action() == USE) ? 1 : 0); + (newEntry->action() == USE) ? newEntry->param(1) : newEntry->param(0)); doAction(newEntry->action(), hotspotData); } |