aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPeter Kohaut2018-03-08 22:16:42 +0100
committerPeter Kohaut2018-03-08 22:20:55 +0100
commit0a3f022a53ba419da0817b42bd16ddbae1b8c3a0 (patch)
treeab36d8a58d51d6edb402b75d0f7d67e6a3956fa2 /engines
parentadf0dfe37ce9bb6ca056ff72abc0a7e91a652cd0 (diff)
downloadscummvm-rg350-0a3f022a53ba419da0817b42bd16ddbae1b8c3a0.tar.gz
scummvm-rg350-0a3f022a53ba419da0817b42bd16ddbae1b8c3a0.tar.bz2
scummvm-rg350-0a3f022a53ba419da0817b42bd16ddbae1b8c3a0.zip
BLADERUNNER: Fixed dialogue menu colors
Diffstat (limited to 'engines')
-rw-r--r--engines/bladerunner/dialogue_menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/dialogue_menu.cpp b/engines/bladerunner/dialogue_menu.cpp
index f5a63e07a2..685c8459e0 100644
--- a/engines/bladerunner/dialogue_menu.cpp
+++ b/engines/bladerunner/dialogue_menu.cpp
@@ -312,7 +312,7 @@ void DialogueMenu::draw(Graphics::Surface &s) {
for (int i = 0; i != _listSize; ++i) {
_shapes[1].draw(s, x1, y);
_shapes[4].draw(s, x2, y);
- uint16 color = ((_items[i].colorIntensity >> 1) << 10) | ((_items[i].colorIntensity >> 1) << 6) | _items[i].colorIntensity;
+ uint16 color = ((_items[i].colorIntensity >> 1) << 10) | ((_items[i].colorIntensity >> 1) << 5) | _items[i].colorIntensity;
_vm->_mainFont->drawColor(_items[i].text, s, x, y, color);
y += kLineHeight;
}
@@ -402,7 +402,7 @@ void DialogueMenu::darkenRect(Graphics::Surface &s, int x1, int y1, int x2, int
for (int y = y1; y != y2; ++y) {
for (int x = x1; x != x2; ++x) {
uint16 *p = (uint16 *)s.getBasePtr(x, y);
- *p = (*p & 0x739C) >> 1; // 0 11100 11100 11100
+ *p = (*p & 0x739C) >> 2; // 0 11100 11100 11100
}
}
}