mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Update warnings in mingw makefile.
Add hack to allow nosubtitles in loomcd (Only once game has started) Revert _roomPalette changes for 256 colors games, caused problems in loomcd, I'm not sure the older 256 color needs these changes. svn-id: r9890
This commit is contained in:
+7
-2
@@ -1661,8 +1661,13 @@ void Scumm_v5::o5_roomOps() {
|
||||
b = getVarOrDirectWord(0x40);
|
||||
}
|
||||
checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)");
|
||||
_roomPalette[b] = a;
|
||||
_fullRedraw = true;
|
||||
if (_features & GF_16COLOR) {
|
||||
_roomPalette[b] = a;
|
||||
_fullRedraw = true;
|
||||
} else {
|
||||
_shadowPalette[b] = a;
|
||||
setDirtyColors(b, b);
|
||||
}
|
||||
} else {
|
||||
error("room-color is no longer a valid command");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user