diff options
author | Martin Kiewitz | 2016-02-04 00:55:20 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-04 00:55:53 +0100 |
commit | dbdf77660e87eefbe7991794da512b8058de54d4 (patch) | |
tree | 7ce04b597f6f34f001d9af2ee76565dc8f73ac17 | |
parent | f460b09da5784732a84010c0544655e0c33cf974 (diff) | |
download | scummvm-rg350-dbdf77660e87eefbe7991794da512b8058de54d4.tar.gz scummvm-rg350-dbdf77660e87eefbe7991794da512b8058de54d4.tar.bz2 scummvm-rg350-dbdf77660e87eefbe7991794da512b8058de54d4.zip |
AGI: Fix disabled look to work properly in menus
-rw-r--r-- | engines/agi/graphics.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index a17d7ff2b7..643f0576b4 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -636,7 +636,7 @@ void GfxMgr::drawCharacter(int16 row, int16 column, byte character, byte foregro transformXOR = 0xFF; } if (disabledLook) { - transformOR = 0xAA; + transformOR = 0x55; } } @@ -679,6 +679,8 @@ void GfxMgr::drawCharacterOnDisplay(int16 x, int16 y, const byte character, byte } curBit = curBit >> 1; } + if (transformOR) + transformOR ^= 0xFF; } copyDisplayRectToScreen(x, y, FONT_DISPLAY_WIDTH, FONT_DISPLAY_HEIGHT); |