aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-18 19:32:00 +0000
committerJohannes Schickel2008-03-18 19:32:00 +0000
commit48dc290b6c1a9c549a1ce490cc12e2037391dc46 (patch)
tree628ea9119eb4aee9b143e80ea7e5bf2801a1811c /engines
parent12bfc644f4d3e83193e60de2808798584fe1e8f9 (diff)
downloadscummvm-rg350-48dc290b6c1a9c549a1ce490cc12e2037391dc46.tar.gz
scummvm-rg350-48dc290b6c1a9c549a1ce490cc12e2037391dc46.tar.bz2
scummvm-rg350-48dc290b6c1a9c549a1ce490cc12e2037391dc46.zip
Bugfix for dropping items off scene.
svn-id: r31189
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/items_v2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/items_v2.cpp b/engines/kyra/items_v2.cpp
index f0eae11e96..ee010b62e6 100644
--- a/engines/kyra/items_v2.cpp
+++ b/engines/kyra/items_v2.cpp
@@ -164,6 +164,7 @@ bool KyraEngine_v2::processItemDrop(uint16 sceneId, uint16 item, int x, int y, i
if (sceneId != _mainCharacter.sceneId) {
_itemList[freeItemSlot].x = x;
_itemList[freeItemSlot].y = y;
+ _itemList[freeItemSlot].id = item;
_itemList[freeItemSlot].unk7 = 1;
_itemList[freeItemSlot].sceneId = sceneId;
return true;