diff options
author | Bastien Bouclet | 2016-03-05 16:12:42 +0100 |
---|---|---|
committer | Bastien Bouclet | 2016-03-05 20:49:12 +0100 |
commit | a5b0e35626f3ceb3fa65ea05a40f8b06f193c51d (patch) | |
tree | c5f97938ff1a35567b10f181b9c715d693ddbdab /engines/mohawk/myst_stacks | |
parent | 05bffc9832568d029582434ea13307e2364bc809 (diff) | |
download | scummvm-rg350-a5b0e35626f3ceb3fa65ea05a40f8b06f193c51d.tar.gz scummvm-rg350-a5b0e35626f3ceb3fa65ea05a40f8b06f193c51d.tar.bz2 scummvm-rg350-a5b0e35626f3ceb3fa65ea05a40f8b06f193c51d.zip |
MOHAWK: Add a method to get a video handle from a MystAreaVideo
Use it to fix the fortress rotation controls once more
Diffstat (limited to 'engines/mohawk/myst_stacks')
-rw-r--r-- | engines/mohawk/myst_stacks/mechanical.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/myst_stacks/mechanical.cpp b/engines/mohawk/myst_stacks/mechanical.cpp index 3214c643a5..3324c9a22d 100644 --- a/engines/mohawk/myst_stacks/mechanical.cpp +++ b/engines/mohawk/myst_stacks/mechanical.cpp @@ -667,7 +667,7 @@ void Mechanical::o_elevatorTopMovie(uint16 op, uint16 var, uint16 argc, uint16 * void Mechanical::o_fortressRotationSetPosition(uint16 op, uint16 var, uint16 argc, uint16 *argv) { debugC(kDebugScript, "Opcode %d: Set fortress position", op); - VideoHandle gears = _fortressRotationGears->playMovie(); + VideoHandle gears = _fortressRotationGears->getMovieHandle(); uint32 moviePosition = Audio::Timestamp(gears->getTime(), 600).totalNumberOfFrames(); // Myst ME short movie workaround, explained in o_fortressRotation_init @@ -801,7 +801,7 @@ void Mechanical::o_elevatorRotation_init(uint16 op, uint16 var, uint16 argc, uin } void Mechanical::fortressRotation_run() { - VideoHandle gears = _fortressRotationGears->playMovie(); + VideoHandle gears = _fortressRotationGears->getMovieHandle(); double oldRate = gears->getRate().toDouble(); uint32 moviePosition = Audio::Timestamp(gears->getTime(), 600).totalNumberOfFrames(); @@ -949,7 +949,7 @@ void Mechanical::fortressSimulation_run() { _fortressSimulationInit = false; } else { - VideoHandle holo = _fortressSimulationHolo->playMovie(); + VideoHandle holo = _fortressSimulationHolo->getMovieHandle(); double oldRate = holo->getRate().toDouble(); |