aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2017-08-10 18:59:40 +0200
committerBastien Bouclet2017-08-10 19:02:10 +0200
commitcf9646e72b0e6e6c8908c1e04542c447e0d4bd5d (patch)
treecd81e04170e0ac0373fe90788fd43475526095c4
parent18fe4cebe4ce54ae48d4834e9e791710610826a3 (diff)
downloadscummvm-rg350-cf9646e72b0e6e6c8908c1e04542c447e0d4bd5d.tar.gz
scummvm-rg350-cf9646e72b0e6e6c8908c1e04542c447e0d4bd5d.tar.bz2
scummvm-rg350-cf9646e72b0e6e6c8908c1e04542c447e0d4bd5d.zip
MOHAWK: Myst: Stop gears video before calling elevator on mechanical
Fixes #10108.
-rw-r--r--engines/mohawk/myst_stacks/mechanical.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mohawk/myst_stacks/mechanical.cpp b/engines/mohawk/myst_stacks/mechanical.cpp
index 34238f37f7..bd5406a4f1 100644
--- a/engines/mohawk/myst_stacks/mechanical.cpp
+++ b/engines/mohawk/myst_stacks/mechanical.cpp
@@ -615,6 +615,9 @@ void Mechanical::o_fortressRotationSetPosition(uint16 var, const ArgumentsArray
}
_fortressPosition = (moviePosition + 900) / 1800 % 4;
+
+ // Stop the gears video so that it does not play while the elevator is going up
+ _fortressRotationGears->getVideo()->stop();
}
void Mechanical::o_mystStaircaseMovie(uint16 var, const ArgumentsArray &args) {