aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2007-05-28 00:10:21 +0000
committerTravis Howell2007-05-28 00:10:21 +0000
commit56123c3edb86b49da7b195cd2c637ae9a5a8fd9e (patch)
tree261b360b9c6a6787bde63471b4c67890dc4f0523
parent233971ed3199c63813541d45211731900394a617 (diff)
downloadscummvm-rg350-56123c3edb86b49da7b195cd2c637ae9a5a8fd9e.tar.gz
scummvm-rg350-56123c3edb86b49da7b195cd2c637ae9a5a8fd9e.tar.bz2
scummvm-rg350-56123c3edb86b49da7b195cd2c637ae9a5a8fd9e.zip
Correct the lockWord check in pokePalette video opcode.
svn-id: r26984
-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++;
}