aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/vga.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp
index d89070cb23..ac8bde5d4f 100644
--- a/engines/agos/vga.cpp
+++ b/engines/agos/vga.cpp
@@ -1258,7 +1258,7 @@ void AGOSEngine::vc37_pokePalette() {
palptr[2] = ((color & 0x00f) >> 0) * 32;
palptr[3] = 0;
- if (_lockWord & 0x20) {
+ if (!(_lockWord & 0x20)) {
_paletteFlag = 1;
_displayScreen++;
}