fix for bug #600287 (ZAK256: Palette messed up)

svn-id: r5736
This commit is contained in:
Max Horn 2002-11-28 22:11:43 +00:00
parent 66c6879d45
commit 1cacb9badb

View File

@ -1653,7 +1653,7 @@ void Scumm::o5_roomOps()
b = getVarOrDirectWord(0x40);
}
checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)");
_currentPalette[a] = b;
copyPalColor(a, b);
_fullRedraw = 1;
} else {
error("room-color is no longer a valid command");