diff options
Diffstat (limited to 'engines/agos/window.cpp')
-rw-r--r-- | engines/agos/window.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/agos/window.cpp b/engines/agos/window.cpp index eabbca9144..bf5fb457a5 100644 --- a/engines/agos/window.cpp +++ b/engines/agos/window.cpp @@ -185,9 +185,15 @@ void AGOSEngine::restoreBlock(uint h, uint w, uint y, uint x) { } void AGOSEngine::setTextColor(uint color) { - WindowBlock *window; + WindowBlock *window = _windowArray[_curWindow]; + + if ((getFeatures() & GF_32COLOR) && color != 0) { + if (window->fill_color == 17) + color = 25; + else + color = 12; + } - window = _windowArray[_curWindow]; window->text_color = color; } |