aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/palette.cpp')
-rw-r--r--engines/scumm/palette.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp
index 5c0c58595b..509547984a 100644
--- a/engines/scumm/palette.cpp
+++ b/engines/scumm/palette.cpp
@@ -71,7 +71,7 @@ void ScummEngine::resetPalette() {
// Use 17 color table for v1 games to allow correct color for inventory and
// sentence line. Original games used some kind of dynamic color table
// remapping between rooms.
- 0xFF, 0x55, 0xFF
+ 0x7F, 0x3B, 0xA6
};
static const byte tableNESPalette[] = {
@@ -498,7 +498,7 @@ void ScummEngine::cyclePalette() {
int i, j;
#ifndef DISABLE_TOWNS_DUAL_LAYER_MODE
- if (_game.platform == Common::kPlatformFMTowns && (!_townsPaletteFlags & 1))
+ if (_game.platform == Common::kPlatformFMTowns && !(_townsPaletteFlags & 1))
return;
#endif
@@ -544,7 +544,7 @@ void ScummEngine::moveMemInPalRes(int start, int end, byte direction) {
void ScummEngine::palManipulateInit(int resID, int start, int end, int time) {
#ifndef DISABLE_TOWNS_DUAL_LAYER_MODE
- if (_game.platform == Common::kPlatformFMTowns && (!_townsPaletteFlags & 1))
+ if (_game.platform == Common::kPlatformFMTowns && !(_townsPaletteFlags & 1))
return;
#endif
@@ -1092,7 +1092,7 @@ void ScummEngine::updatePalette() {
else
data = _currentPalette + i * 3;
- // Sam & Max film noir mode. Convert the colours to grayscale
+ // Sam & Max film noir mode. Convert the colors to grayscale
// before uploading them to the backend.
if (noir_mode) {