Skip to content

Commit

Permalink
Update npctalk.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramza13 committed Jun 29, 2021
1 parent 1cb366c commit d08a52f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/npctalk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2199,12 +2199,9 @@ void talk_effect_fun_t::set_assign_mission( const JsonObject &jo, const std::str
avatar &player_character = get_avatar();

const mission_type_id &mission_type = mission_type_id( mission_name );
tripoint_abs_omt mission_target;

std::vector<mission *> missions = player_character.get_active_missions();
mission *new_mission = mission::reserve_new( mission_type, character_id() );
new_mission->assign( player_character );
mission_target = new_mission->get_target();
};
}

Expand Down

0 comments on commit d08a52f

Please sign in to comment.