summaryrefslogtreecommitdiff
path: root/src-09_npc-eat-from-further-camp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src-09_npc-eat-from-further-camp.patch')
-rw-r--r--src-09_npc-eat-from-further-camp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/src-09_npc-eat-from-further-camp.patch b/src-09_npc-eat-from-further-camp.patch
new file mode 100644
index 0000000..b1c5e13
--- /dev/null
+++ b/src-09_npc-eat-from-further-camp.patch
@@ -0,0 +1,11 @@
+--- a/src/npcmove.cpp
++++ b/src/npcmove.cpp
+@@ -3758,7 +3758,7 @@
+ Character &player_character = get_player_character();
+ cata::optional<basecamp *> potential_bc;
+ for( const tripoint_abs_omt &camp_pos : player_character.camps ) {
+- if( rl_dist( camp_pos, global_omt_location() ) < 3 ) {
++ if( rl_dist( camp_pos, global_omt_location() ) < 6 ) {
+ potential_bc = overmap_buffer.find_camp( camp_pos.xy() );
+ if( potential_bc ) {
+ break;