summaryrefslogtreecommitdiff
path: root/src-14_fix-npc_melee-calculations.patch
diff options
context:
space:
mode:
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;
- }