CMI: Possible fix for actor redraw after load
|Reported by:||eriktorbjorn||Owned by:||SF/ender|
|Cc:||Game:||Monkey Island 3|
This patch aims to fix the problem where actors aren't redrawn after loading a saved game in CMI. (The problem almost certainly affects V7 games as well.)
The problem is that in V7 and V8 games the redrawBGAreas() function, which is called by scummLoop() and o6_kernelSetFunctions(), may reset _fullRedraw to false. I think removing that line is the proper fix.
In the case of scummLoop() it should simply mean that _fullRedraw won't be reset until after the game has had a chance to process the actors, and I don't think that's a bad thing. I'm less certain of its effects on o6_kernelSetFunctions(), but at worst we could always add a line there to set _fullRedraw to false afterwards. Where and when is that particular opcode used anyway?
Ticket imported from: #679354. Ticket imported from: patches/274.