aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/supernova/rooms.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/supernova/rooms.cpp b/engines/supernova/rooms.cpp
index 9c503a818f..1ab4c3a38c 100644
--- a/engines/supernova/rooms.cpp
+++ b/engines/supernova/rooms.cpp
@@ -1544,6 +1544,7 @@ bool ArsanoMeetup::interact(Action verb, Object &obj1, Object &obj2) {
void ArsanoEntrance::animation() {
if (!_vm->_messageDisplayed && isSectionVisible(kMaxSection - 5)) {
+ _gm->animationOff(); // to avoid recursive call
_vm->playSound(kAudioDoorSound);
_gm->drawImage(8);
setSectionVisible(9, false);
@@ -1560,6 +1561,7 @@ void ArsanoEntrance::animation() {
_gm->drawImage(_gm->invertSection(5));
getObject(11)->_click = 255;
setSectionVisible(kMaxSection - 5, false);
+ _gm->animationOn();
}
if (isSectionVisible(2)) {
_gm->drawImage(_gm->invertSection(2));