diff options
author | Paul Gilbert | 2016-12-18 15:50:23 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-18 15:50:23 -0500 |
commit | 6544c512626e851a429f64d99f64f4bb4d17e368 (patch) | |
tree | f23fae5631363934e882edc54f2c3804bc26f5fa /engines | |
parent | c70380aef6a6f2fd1251d085f5a5707142d6d521 (diff) | |
download | scummvm-rg350-6544c512626e851a429f64d99f64f4bb4d17e368.tar.gz scummvm-rg350-6544c512626e851a429f64d99f64f4bb4d17e368.tar.bz2 scummvm-rg350-6544c512626e851a429f64d99f64f4bb4d17e368.zip |
TITANIC: Fix crash dragging items from inventory
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/pet_control/pet_inventory_glyphs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_inventory_glyphs.cpp b/engines/titanic/pet_control/pet_inventory_glyphs.cpp index d7918cf860..75b1fc9614 100644 --- a/engines/titanic/pet_control/pet_inventory_glyphs.cpp +++ b/engines/titanic/pet_control/pet_inventory_glyphs.cpp @@ -138,7 +138,7 @@ bool CPetInventoryGlyph::dragGlyph(const Point &topLeft, CMouseDragStartMsg *msg petControl->setAreaChangeType(1); return true; } else { - petControl->addToInventory(carryParcel); + petControl->addToInventory(item); return false; } } |