aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2008-01-22 09:46:11 +0000
committerPaul Gilbert2008-01-22 09:46:11 +0000
commit00796bb5988184eb76cfa661e0de94aa998637a3 (patch)
treec97d8ba908a611f03b06702a634e38474175b93e
parente82222a0963ae1c14c42a5a8bddc73cf72f9f35b (diff)
downloadscummvm-rg350-00796bb5988184eb76cfa661e0de94aa998637a3.tar.gz
scummvm-rg350-00796bb5988184eb76cfa661e0de94aa998637a3.tar.bz2
scummvm-rg350-00796bb5988184eb76cfa661e0de94aa998637a3.zip
Bugfix for transformation sparkle to finish if the player changes room partway through animation
svn-id: r30609
-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);
}