diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2025-01-18 21:46:00 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2025-01-18 21:46:00 -0800 |
commit | 7e224c97ae2728472180322f625dafa545f21f7f (patch) | |
tree | 61a296000b3a05d36cde4de0d8bd5e5179ee21ab /src-16_npcs-not-wielding-from-worn-holsters.patch | |
parent | Add plastic scrap is stackable patch. (diff) | |
download | cataclysm-bn-master.tar.xz |
Diffstat (limited to 'src-16_npcs-not-wielding-from-worn-holsters.patch')
-rw-r--r-- | src-16_npcs-not-wielding-from-worn-holsters.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src-16_npcs-not-wielding-from-worn-holsters.patch b/src-16_npcs-not-wielding-from-worn-holsters.patch deleted file mode 100644 index 5173f86..0000000 --- a/src-16_npcs-not-wielding-from-worn-holsters.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/npcmove.cpp -+++ b/src/npcmove.cpp -@@ -3513,7 +3513,7 @@ - // if they don't have a weapon with appropriate range/ammo. - visit_items( [&compare_weapon, this ]( item * node ) { - // For worn items, only compare if they have a weapon category defined. -- if( is_worn( *node ) && node->type->weapon_category.empty() ) { -+ if( is_worn( *node ) && !( node->get_use( "holster" ) ) && node->type->weapon_category.empty() ) { - return VisitResponse::SKIP; - } - // Otherwise, compare any melee usable item, guns or holstered items |