aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index 84d1ce4169..1949ae5ad0 100644
--- a/engines/lure/scripts.cpp
+++ b/engines/lure/scripts.cpp
@@ -438,7 +438,7 @@ void Script::transformPlayer(uint16 v1, uint16 v2, uint16 v3) {
hotspot->startX = player->startX - 14;
hotspot->startY = player->startY - 10;
- Hotspot *activeHotspot = res.addHotspot(TRANSFORM_ID);
+ Hotspot *activeHotspot = res.activateHotspot(TRANSFORM_ID);
activeHotspot->setActionCtr(0);
activeHotspot->setHotspotScript(0x630);
}