aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-11 01:31:34 +0000
committerJohannes Schickel2009-08-11 01:31:34 +0000
commitf419386d71baa34369024e28c2fa39bc9589dc9d (patch)
treef9044d872ba2aaccbc27628758de05fdafc80a1f /engines/kyra
parentf49bfc58e4cee19bb8fdcceffa2dd56ef58cef5e (diff)
downloadscummvm-rg350-f419386d71baa34369024e28c2fa39bc9589dc9d.tar.gz
scummvm-rg350-f419386d71baa34369024e28c2fa39bc9589dc9d.tar.bz2
scummvm-rg350-f419386d71baa34369024e28c2fa39bc9589dc9d.zip
Fix in-game GUI text input field colors for Kyrandia 1 Amiga.
svn-id: r43248
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/gui_lok.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/gui_lok.cpp b/engines/kyra/gui_lok.cpp
index 9668ac82b5..e60592fcd2 100644
--- a/engines/kyra/gui_lok.cpp
+++ b/engines/kyra/gui_lok.cpp
@@ -656,12 +656,12 @@ int GUI_LoK::loadGameMenu(Button *button) {
}
void GUI_LoK::redrawTextfield() {
- _screen->fillRect(38, 91, 287, 102, 250);
+ _screen->fillRect(38, 91, 287, 102, _vm->gameFlags().platform == Common::kPlatformAmiga ? 18 : 250);
_text->printText(_savegameName, 38, 92, 253, 0, 0);
_screen->_charWidth = -2;
int width = _screen->getTextWidth(_savegameName);
- _screen->fillRect(39 + width, 93, 45 + width, 100, 254);
+ _screen->fillRect(39 + width, 93, 45 + width, 100, _vm->gameFlags().platform == Common::kPlatformAmiga ? 31 : 254);
_screen->_charWidth = 0;
_screen->updateScreen();