diff options
author | Bastien Bouclet | 2011-02-13 19:04:53 +0100 |
---|---|---|
committer | Bastien Bouclet | 2011-02-15 21:43:36 +0100 |
commit | 30f1eead192b8cf6a8c3e3526d9ab6c01670a0aa (patch) | |
tree | e5e114b07e6e35cfb7f2adab49dd5ee97cb22760 | |
parent | 7e52ae2f5e3534ba0c2f425361c4a3bc51f813f4 (diff) | |
download | scummvm-rg350-30f1eead192b8cf6a8c3e3526d9ab6c01670a0aa.tar.gz scummvm-rg350-30f1eead192b8cf6a8c3e3526d9ab6c01670a0aa.tar.bz2 scummvm-rg350-30f1eead192b8cf6a8c3e3526d9ab6c01670a0aa.zip |
MOHAWK: Add a workaround for a missing image when going up the stairs in Mechanical.
-rw-r--r-- | engines/mohawk/myst_scripts.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp index 25eeac0a6c..17a2c66091 100644 --- a/engines/mohawk/myst_scripts.cpp +++ b/engines/mohawk/myst_scripts.cpp @@ -599,6 +599,10 @@ void MystScriptParser::o_copyBackBufferToScreen(uint16 op, uint16 var, uint16 ar void MystScriptParser::o_copyImageToBackBuffer(uint16 op, uint16 var, uint16 argc, uint16 *argv) { uint16 imageId = argv[0]; + // WORKAROUND wrong image id in mechanical staircase + if (imageId == 7158) + imageId = 7178; + Common::Rect srcRect = Common::Rect(argv[1], argv[2], argv[3], argv[4]); Common::Rect dstRect = Common::Rect(argv[5], argv[6], 544, 333); |