Skip to content

Commit

Permalink
MOHAWK: Add a workaround for a missing image when going up the stairs…
Browse files Browse the repository at this point in the history
… in Mechanical.
  • Loading branch information
bgK committed Feb 15, 2011
1 parent 7e52ae2 commit 30f1eea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/mohawk/myst_scripts.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 30f1eea

Please sign in to comment.