diff --git a/src/inventory.cpp b/src/inventory.cpp index ac57b9613bd4..f88a0187ba61 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -815,6 +815,7 @@ void location_inventory::dump_remove( std::vector> &dest ) dest.push_back( detached_ptr( elem_stack_iter ) ); } } + inv.clear(); } std::vector> location_inventory::dump_remove( )