aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorBastien Bouclet2012-12-15 10:17:01 +0100
committerBastien Bouclet2012-12-16 06:51:01 +0100
commit4ae8b3b1e863e2a6ad7d216447f85f480499ad75 (patch)
tree7be0b0bdc348840027e753ca832e2ae5116b8477 /engines/mohawk
parentfb02d1decd467b6758f09374dd71036d65e5f9e5 (diff)
downloadscummvm-rg350-4ae8b3b1e863e2a6ad7d216447f85f480499ad75.tar.gz
scummvm-rg350-4ae8b3b1e863e2a6ad7d216447f85f480499ad75.tar.bz2
scummvm-rg350-4ae8b3b1e863e2a6ad7d216447f85f480499ad75.zip
MOHAWK: Fix Myst ME's clock tower weight not going back up
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/myst_stacks/myst.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index d91655fcf1..f09c9924f9 100644
--- a/engines/mohawk/myst_stacks/myst.cpp
+++ b/engines/mohawk/myst_stacks/myst.cpp
@@ -3037,16 +3037,9 @@ void Myst::clockReset() {
void Myst::clockResetWeight() {
_clockWeightVideo = _vm->_video->playMovie(_vm->wrapMovieFilename("cl1wlfch", kMystStack) , 124, 0);
- if (!(_vm->getFeatures() & GF_ME)) {
- // Set video bounds, weight going up
- _vm->_video->setVideoBounds(_clockWeightVideo,
- Audio::Timestamp(0, 2214 * 2 - _clockWeightPosition, 600),
- Audio::Timestamp(0, 2214 * 2, 600));
- } else {
- //FIXME: Needs QT backwards playing, for now just display the weight up
- warning("Weight going back up not implemented");
- _vm->_video->drawVideoFrame(_clockWeightVideo, Audio::Timestamp(0, 0, 600));
- }
+ // Play the movie backwards, weight going up
+ _vm->_video->seekToTime(_clockWeightVideo, Audio::Timestamp(0, _clockWeightPosition, 600));
+ _vm->_video->setVideoRate(_clockWeightVideo, -1);
// Reset position
_clockWeightPosition = 0;