Skip to content

Commit

Permalink
Merge pull request #38114 from davidpwbrown/dismissed_npc
Browse files Browse the repository at this point in the history
Dismissed followers form new goals and dont hang around creepily.
  • Loading branch information
ZhilkinSerg authored Feb 18, 2020
2 parents 25ef928 + 38b7195 commit 396f20c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/npctalk_funcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,8 @@ void talk_function::leave( npc &p )
}
p.chatbin.first_topic = "TALK_STRANGER_NEUTRAL";
p.set_attitude( NPCATT_NULL );
p.mission = NPC_MISSION_NULL;
p.long_term_goal_action();
}

void talk_function::stop_following( npc &p )
Expand Down

0 comments on commit 396f20c

Please sign in to comment.