EGA LOOM: Hack to fix palette problem
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
This is a slightly hacky solution to a Loom palette bug that happens when the dragon finds Rusty. Since Loom doesn't seem to use _currentPalette at all, script_v5.cpp had been modified for 16-colour games so that setDirtyColors() was never called.
However, that meant that changes to the shadow palette went largely unnoticed. This patch changes the behaviour of setDirtyColors() instead so that for 16-colour games it forces a full redraw.
Originally I wanted to change the palette handling instead so that it would work the same way for 16-colour games as for all the other ones, but I couldn't figure out how to get that to work.
I had to make a slight adjustment to descumm3 as well, to get it to handle that particular script.
Ticket imported from: #730800. Ticket imported from: patches/315.