#8185 closed patch
Fix for graphics glitches after saving
Reported by: | eriktorbjorn | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Monkey Island 1 |
Description
This patch should prevent graphics glitches when saving a game, manually or by autosave. Because the "usage bits" array was made larger recently, I added code to automatically clear it before loading a game so that there wouldn't be any garbage in it when loading an older savegame.
At least that was the intention. What it actually does it to clear the array both before loading *and* saving. What the hell was I thinking?!
One particularly noticeable example of this bug happens if you save while talking to the Voodoo Lady in CMI.
By the way, I'm not sure clearing the array is necessary even in the load case. In fact, I'm not entirely convinced that we have to save the usage bits at all. The full redraw after loading a savegame just might be enough to reconstruct them. But I don't know.
Ticket imported from: #697846. Ticket imported from: patches/290.
Attachments (1)
Change History (4)
by , 22 years ago
Attachment: | usage_bits.diff added |
---|
comment:1 by , 22 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Engine: SCUMM |
---|---|
Game: | → Monkey Island 1 |
Patch against a March 4 CVS snapshot