From b8111d2c6c2c2b0731fa0ca76894825c92be123a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 10 Aug 2009 23:35:16 +0000 Subject: Fix yet another inventory background color glitch in Kyrandia 1 Amiga. svn-id: r43238 --- engines/kyra/items_lok.cpp | 4 ++-- engines/kyra/script_lok.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/kyra') diff --git a/engines/kyra/items_lok.cpp b/engines/kyra/items_lok.cpp index e87a1212a3..bc490d9764 100644 --- a/engines/kyra/items_lok.cpp +++ b/engines/kyra/items_lok.cpp @@ -693,7 +693,7 @@ void KyraEngine_LoK::magicOutMouseItem(int animIndex, int itemPos) { if (itemPos != -1) { restoreItemRect1(x, y); - _screen->fillRect(_itemPosX[itemPos], _itemPosY[itemPos], _itemPosX[itemPos] + 15, _itemPosY[itemPos] + 15, 12, 0); + _screen->fillRect(_itemPosX[itemPos], _itemPosY[itemPos], _itemPosX[itemPos] + 15, _itemPosY[itemPos] + 15, _flags.platform == Common::kPlatformAmiga ? 19 : 12, 0); backUpItemRect1(x, y); } @@ -715,7 +715,7 @@ void KyraEngine_LoK::magicOutMouseItem(int animIndex, int itemPos) { } else { _characterList[0].inventoryItems[itemPos] = 0xFF; _screen->hideMouse(); - _screen->fillRect(_itemPosX[itemPos], _itemPosY[itemPos], _itemPosX[itemPos] + 15, _itemPosY[itemPos] + 15, 12, 0); + _screen->fillRect(_itemPosX[itemPos], _itemPosY[itemPos], _itemPosX[itemPos] + 15, _itemPosY[itemPos] + 15, _flags.platform == Common::kPlatformAmiga ? 19 : 12, 0); _screen->showMouse(); } _screen->showMouse(); diff --git a/engines/kyra/script_lok.cpp b/engines/kyra/script_lok.cpp index e22f528d5a..929fbae1eb 100644 --- a/engines/kyra/script_lok.cpp +++ b/engines/kyra/script_lok.cpp @@ -1228,7 +1228,7 @@ int KyraEngine_LoK::o1_setFireberryGlowPalette(EMCState *script) { switch (stackPos(0)) { case -1: - // TODO + // The original seemed to draw some lines on page 2 here, which looks strange... //if (!(_brandonStatusBit & 2)) // warning("Unimplemented case for o1_setFireberryGlowPalette"); palIndex = 9; -- cgit v1.2.3