aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
authorEugene Sandulenko2005-04-09 21:16:34 +0000
committerEugene Sandulenko2005-04-09 21:16:34 +0000
commite7786320a67210bbf998ff9b0f1bf227e4961432 (patch)
treede74b0753ca0437e136c3aaf860583b34df949fb /gob
parentd7c1017fe449f381059bc7d19bbfc52bf838c5d4 (diff)
downloadscummvm-rg350-e7786320a67210bbf998ff9b0f1bf227e4961432.tar.gz
scummvm-rg350-e7786320a67210bbf998ff9b0f1bf227e4961432.tar.bz2
scummvm-rg350-e7786320a67210bbf998ff9b0f1bf227e4961432.zip
Fix for put apple bug from wjp
svn-id: r17491
Diffstat (limited to 'gob')
-rw-r--r--gob/goblin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gob/goblin.cpp b/gob/goblin.cpp
index 9f2863dc2c..107268327f 100644
--- a/gob/goblin.cpp
+++ b/gob/goblin.cpp
@@ -943,6 +943,7 @@ void gob_targetItem(void) {
}
if (gob_gobAction == 4 && gob_destActionItem != 0 &&
+ gob_itemToObject[gob_destActionItem] != -1 &&
gob_objects[gob_itemToObject[gob_destActionItem]]->
pickable == 1) {