mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 16:31:01 +00:00
MOHAWK: Add a workaround for a missing image when going up the stairs in Mechanical.
This commit is contained in:
parent
7e52ae2f5e
commit
30f1eead19
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user