summaryrefslogtreecommitdiff
path: root/src-14_fix-npc_melee-calculations.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2025-01-18 21:46:00 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2025-01-18 21:46:00 -0800
commit7e224c97ae2728472180322f625dafa545f21f7f (patch)
tree61a296000b3a05d36cde4de0d8bd5e5179ee21ab /src-14_fix-npc_melee-calculations.patch
parentAdd plastic scrap is stackable patch. (diff)
downloadcataclysm-bn-7e224c97ae2728472180322f625dafa545f21f7f.tar.xz
Convert the PKGBUILD to my own fork of cataclysm-bn.HEADmaster
Diffstat (limited to 'src-14_fix-npc_melee-calculations.patch')
-rw-r--r--src-14_fix-npc_melee-calculations.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/src-14_fix-npc_melee-calculations.patch b/src-14_fix-npc_melee-calculations.patch
deleted file mode 100644
index ea98989..0000000
--- a/src-14_fix-npc_melee-calculations.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/npcmove.cpp
-+++ b/src/npcmove.cpp
-@@ -1409,7 +1409,7 @@
- return npc_reload;
- }
-
-- if( dist == 1 && same_z ) {
-+ if( dist <= 1 && same_z ) {
- add_msg( m_debug, "%s is trying a melee attack", disp_name() );
- return npc_melee;
- }