diff options
author | Bastien Bouclet | 2016-02-28 10:35:09 +0100 |
---|---|---|
committer | Bastien Bouclet | 2016-03-05 14:43:10 +0100 |
commit | f306beab5925b4320948150ac30fe3d780231cb1 (patch) | |
tree | a2e592ec7333d28652be3d8c92e2375877f59220 /engines | |
parent | 2d405fcc9f9612bd9f9b002dec9ba345c4776663 (diff) | |
download | scummvm-rg350-f306beab5925b4320948150ac30fe3d780231cb1.tar.gz scummvm-rg350-f306beab5925b4320948150ac30fe3d780231cb1.tar.bz2 scummvm-rg350-f306beab5925b4320948150ac30fe3d780231cb1.zip |
MOHAWK: Fix one of the Channelwood monitor movies being misaligned
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/myst_stacks/channelwood.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/engines/mohawk/myst_stacks/channelwood.cpp b/engines/mohawk/myst_stacks/channelwood.cpp index 659c5dcdf2..21c3042359 100644 --- a/engines/mohawk/myst_stacks/channelwood.cpp +++ b/engines/mohawk/myst_stacks/channelwood.cpp @@ -621,24 +621,32 @@ void Channelwood::o_hologramMonitor(uint16 op, uint16 var, uint16 argc, uint16 * switch (button) { case 0: handle = _vm->_video->playMovie(_vm->wrapMovieFilename("monalgh", kChannelwoodStack)); + if (!handle) + error("Failed to open monalgh movie"); + handle->moveTo(227, 70); break; case 1: handle = _vm->_video->playMovie(_vm->wrapMovieFilename("monamth", kChannelwoodStack)); + if (!handle) + error("Failed to open monamth movie"); + handle->moveTo(227, 70); break; case 2: handle = _vm->_video->playMovie(_vm->wrapMovieFilename("monasirs", kChannelwoodStack)); + if (!handle) + error("Failed to open monasirs movie"); + handle->moveTo(227, 70); break; case 3: handle = _vm->_video->playMovie(_vm->wrapMovieFilename("monsmsg", kChannelwoodStack)); + if (!handle) + error("Failed to open monsmsg movie"); + handle->moveTo(226, 68); break; default: warning("Opcode %d Control Variable Out of Range", op); break; } - - // Move the video to the right location - if (handle) - handle->moveTo(227, 70); } } |