aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-10 23:35:16 +0000
committerJohannes Schickel2009-08-10 23:35:16 +0000
commitb8111d2c6c2c2b0731fa0ca76894825c92be123a (patch)
treefda4d3a7beb22fa490021edc7b635b4c943c7f4e /engines/kyra
parent9fe496c74020dd3df9367304bf4d4a7da9b9fc5c (diff)
downloadscummvm-rg350-b8111d2c6c2c2b0731fa0ca76894825c92be123a.tar.gz
scummvm-rg350-b8111d2c6c2c2b0731fa0ca76894825c92be123a.tar.bz2
scummvm-rg350-b8111d2c6c2c2b0731fa0ca76894825c92be123a.zip
Fix yet another inventory background color glitch in Kyrandia 1 Amiga.
svn-id: r43238
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/items_lok.cpp4
-rw-r--r--engines/kyra/script_lok.cpp2
2 files changed, 3 insertions, 3 deletions
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;