Skip to content

Commit

Permalink
Merge branch 'directed-push' of https://github.com/RobbieNeko/Catacly…
Browse files Browse the repository at this point in the history
…sm-BN into directed-push
  • Loading branch information
RobbieNeko committed Oct 12, 2024
2 parents 0a0fdf8 + 990a367 commit c25411d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/magic_spell_effect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,12 +661,12 @@ void area_expander::sort_descending()
static void move_items( map &here, const tripoint &from, const tripoint &to )
{
auto src_items = here.i_at( from );
auto dst_items = here.i_at( to );
auto dst_items = here.i_at( to );

for( detached_ptr<item> &it : src_items.clear() ) {
dst_items.insert( std::move( it ) );
}
src_items.clear();
for( detached_ptr<item> &it : src_items.clear() ) {
dst_items.insert( std::move( it ) );
}
src_items.clear();
}

static void move_field( map &here, const tripoint &from, const tripoint &to )
Expand Down

0 comments on commit c25411d

Please sign in to comment.