diff options
author | Bastien Bouclet | 2018-07-25 20:37:27 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-07-25 20:37:27 +0200 |
commit | 85a603fdff70d3ea577ca69d2365ebbe67b1a521 (patch) | |
tree | 37aedf8882f89a8e1e0e5042e7ce2adf120fe67a /engines/mohawk | |
parent | 650e26b6ab3f6ca0ae685c53fd186ae87b2f84a0 (diff) | |
download | scummvm-rg350-85a603fdff70d3ea577ca69d2365ebbe67b1a521.tar.gz scummvm-rg350-85a603fdff70d3ea577ca69d2365ebbe67b1a521.tar.bz2 scummvm-rg350-85a603fdff70d3ea577ca69d2365ebbe67b1a521.zip |
MOHAWK: MYST: Don't play the flyby movies when going back to Myst
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/myst.cpp | 6 | ||||
-rw-r--r-- | engines/mohawk/myst.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index bbd72be956..d4e15e6d85 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -256,7 +256,7 @@ void MohawkEngine_Myst::playMovieBlocking(const Common::String &name, MystStack waitUntilMovieEnds(video); } -void MohawkEngine_Myst::playFlybyMovie(MystStack stack, uint16 card) { +void MohawkEngine_Myst::playFlybyMovie(MystStack stack) { static const uint16 kMasterpieceOnly = 0xFFFF; // Play Flyby Entry Movie on Masterpiece Edition. @@ -608,8 +608,8 @@ void MohawkEngine_Myst::changeToStack(MystStack stackId, uint16 card, uint16 lin // In Myst ME, play a fullscreen flyby movie, except when loading saves. // Also play a flyby when first linking to Myst. if (getFeatures() & GF_ME - && ((_stack && _stack->getStackId() != kIntroStack) || (stackId == kMystStack && card == 4134))) { - playFlybyMovie(stackId, card); + && ((_stack && _stack->getStackId() == kMystStack) || (stackId == kMystStack && card == 4134))) { + playFlybyMovie(stackId); } _sound->stopBackground(); diff --git a/engines/mohawk/myst.h b/engines/mohawk/myst.h index 3b349c3d94..007a0c59ef 100644 --- a/engines/mohawk/myst.h +++ b/engines/mohawk/myst.h @@ -171,7 +171,7 @@ public: VideoEntryPtr playMovieFullscreen(const Common::String &name, MystStack stack); VideoEntryPtr findVideo(const Common::String &name, MystStack stack); void playMovieBlocking(const Common::String &name, MystStack stack, uint16 x, uint16 y); - void playFlybyMovie(MystStack stack, uint16 card); + void playFlybyMovie(MystStack stack); void waitUntilMovieEnds(const VideoEntryPtr &video); void playSoundBlocking(uint16 id); |