Skip to content

Commit

Permalink
Missing property in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
joveeater committed May 21, 2023
1 parent d42f9c5 commit 7775c98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ last_climate_control_ret( false )
id = source.id;
next_climate_control_check = source.next_climate_control_check;
last_climate_control_ret = source.last_climate_control_ret;
learned_recipes = source.learned_recipes;

activity = std::move( source.activity );
stashed_outbounds_backlog = std::move( source.stashed_outbounds_backlog );
Expand Down Expand Up @@ -627,6 +628,7 @@ Character &Character::operator=( Character &&source )
activity = std::move( source.activity );
stashed_outbounds_backlog = std::move( source.stashed_outbounds_backlog );
stashed_outbounds_activity = std::move( source.stashed_outbounds_activity );
learned_recipes = std::move( source.learned_recipes );

worn.clear();
for( detached_ptr<item> &it : source.worn.clear() ) {
Expand Down

0 comments on commit 7775c98

Please sign in to comment.