Bugfix for transformation sparkle to finish if the player changes room partway through animation

svn-id: r30609
This commit is contained in:
Paul Gilbert 2008-01-22 09:46:11 +00:00
parent e82222a096
commit 00796bb598

View File

@ -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);
}