From a09894839ccba98dd8cd2a15cfe09cb75de18125 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 13 Mar 2023 10:30:52 -0700 Subject: Update to 0.G Port patches back to DDA. --- src-09_npc-eat-from-further-camp.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src-09_npc-eat-from-further-camp.patch (limited to 'src-09_npc-eat-from-further-camp.patch') 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 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; -- cgit v1.2.1