aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-03-04 16:34:27 +0000
committerJohannes Schickel2010-03-04 16:34:27 +0000
commit4221460f6d3a27c98f8c1686784bcba748d833f7 (patch)
tree9124323c4d3395c4e25d54366dea42ef93673d52
parentd204f97beb9dc3791d1a01959735bc3c4049318c (diff)
downloadscummvm-rg350-4221460f6d3a27c98f8c1686784bcba748d833f7.tar.gz
scummvm-rg350-4221460f6d3a27c98f8c1686784bcba748d833f7.tar.bz2
scummvm-rg350-4221460f6d3a27c98f8c1686784bcba748d833f7.zip
Fix item exchange string in Kyra 1 Amiga (both English and German).
svn-id: r48159
-rw-r--r--engines/kyra/items_lok.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/kyra/items_lok.cpp b/engines/kyra/items_lok.cpp
index 58028cb5d8..df46dfa4cd 100644
--- a/engines/kyra/items_lok.cpp
+++ b/engines/kyra/items_lok.cpp
@@ -434,7 +434,10 @@ void KyraEngine_LoK::exchangeItemWithMouseItem(uint16 sceneId, int itemIndex) {
setMouseItem(_itemInHand);
assert(_itemList && _takenList);
- updateSentenceCommand(_itemList[getItemListIndex(_itemInHand)], _takenList[1], 179);
+ if (_flags.platform == Common::kPlatformAmiga)
+ updateSentenceCommand(_itemList[getItemListIndex(_itemInHand)], _takenList[0], 179);
+ else
+ updateSentenceCommand(_itemList[getItemListIndex(_itemInHand)], _takenList[1], 179);
_screen->showMouse();
clickEventHandler2();
}