aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/game.cpp')
-rw-r--r--engines/lure/game.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp
index 49a100346e..d0f98b9c34 100644
--- a/engines/lure/game.cpp
+++ b/engines/lure/game.cpp
@@ -420,6 +420,7 @@ void Game::displayChuteAnimation() {
void Game::displayBarrelAnimation() {
Mouse &mouse = Mouse::getReference();
+ Resources &res = Resources::getReference();
debugC(ERROR_INTERMEDIATE, kLureDebugAnimations, "Starting barrel animation");
Palette palette(BARREL_PALETTE_ID);
@@ -433,6 +434,16 @@ void Game::displayBarrelAnimation() {
delete anim;
+ // Disable town NPCs that are no longer needed
+ res.deactivateHotspot(SKORL_ID);
+ res.deactivateHotspot(BLACKSMITH_ID);
+ res.deactivateHotspot(GWEN_ID);
+ res.deactivateHotspot(MALLIN_ID);
+ res.deactivateHotspot(MONK1_ID);
+ res.deactivateHotspot(GOEWIN_ID);
+ res.deactivateHotspot(MONK2_ID);
+ res.deactivateHotspot(WAYNE_ID);
+
Sound.killSounds();
mouse.cursorOn();
}