Correct the lockWord check in pokePalette video opcode.

svn-id: r26984
This commit is contained in:
Travis Howell 2007-05-28 00:10:21 +00:00
parent 233971ed31
commit 56123c3edb

View File

@ -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++;
}