mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Bugfix for transformation sparkle to finish if the player changes room partway through animation
svn-id: r30609
This commit is contained in:
parent
e82222a096
commit
00796bb598
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user