summaryrefslogtreecommitdiff
path: root/src/inventorymanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventorymanager.cpp')
-rw-r--r--src/inventorymanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inventorymanager.cpp b/src/inventorymanager.cpp
index 1a7f56f31..4d862de66 100644
--- a/src/inventorymanager.cpp
+++ b/src/inventorymanager.cpp
@@ -351,6 +351,8 @@ void IMoveAction::apply(InventoryManager *mgr, ServerActiveObject *player, IGame
if(dst_can_put_count == -1){
list_to->deleteItem(to_i);
list_to->addItem(to_i, to_stack_was);
+ list_from->deleteItem(from_i);
+ list_from->addItem(from_i, from_stack_was);
list_from->takeItem(from_i, count);
}