diff --git a/src/pickup.cpp b/src/pickup.cpp index b84561f25fb12..4cb362b4d67c1 100644 --- a/src/pickup.cpp +++ b/src/pickup.cpp @@ -274,7 +274,7 @@ bool pick_one_up( item_location &loc, int quantity, bool &got_water, bool &offer break; } - picked_up = newit.spill_contents( u ); + picked_up = loc.get_item()->spill_contents( u ); if( !picked_up ) { break; }