mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
Fix yet another inventory background color glitch in Kyrandia 1 Amiga.
svn-id: r43238
This commit is contained in:
parent
9fe496c740
commit
b8111d2c6c
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user