aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorPaul Gilbert2014-02-01 20:51:53 -0500
committerPaul Gilbert2014-02-01 20:51:53 -0500
commit28fc97cbe7c5c17c5bf6f50cf99e55a67757a829 (patch)
tree6f83607d833178277a822e5ada8a16c636814634 /engines/voyeur
parent8af390ab9f6db6bf623b609fd424832f1acd6826 (diff)
downloadscummvm-rg350-28fc97cbe7c5c17c5bf6f50cf99e55a67757a829.tar.gz
scummvm-rg350-28fc97cbe7c5c17c5bf6f50cf99e55a67757a829.tar.bz2
scummvm-rg350-28fc97cbe7c5c17c5bf6f50cf99e55a67757a829.zip
VOYEUR: Fix for occasional palette corruption when reviewing a video event
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/voyeur/graphics.cpp b/engines/voyeur/graphics.cpp
index 11a8ef54e6..ebe8a5034b 100644
--- a/engines/voyeur/graphics.cpp
+++ b/engines/voyeur/graphics.cpp
@@ -944,6 +944,7 @@ void GraphicsManager::clearPalette() {
void GraphicsManager::setPalette(const byte *palette, int start, int count) {
g_system->getPaletteManager()->setPalette(palette, start, count);
+ _vm->_eventsManager._gameData._hasPalette = false;
}
void GraphicsManager::setPalette128(const byte *palette, int start, int count) {