diff options
author | Paul Gilbert | 2008-01-22 09:46:11 +0000 |
---|---|---|
committer | Paul Gilbert | 2008-01-22 09:46:11 +0000 |
commit | 00796bb5988184eb76cfa661e0de94aa998637a3 (patch) | |
tree | c97d8ba908a611f03b06702a634e38474175b93e /engines/lure | |
parent | e82222a0963ae1c14c42a5a8bddc73cf72f9f35b (diff) | |
download | scummvm-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
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/scripts.cpp | 2 |
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); } |