summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-02-10 03:09:33 +0100
committerGitHub <noreply@github.com>2018-02-10 03:09:33 +0100
commitc653d967508c194133d64e0c28fcc3dc0665cd77 (patch)
treeb4297f68017af291c2def0d27bd01eb87a7b09c7 /src/map/unit.c
parent6f85e399942facc69555d078c82588f95b198711 (diff)
parent40cdf84bb3ab0801ff1e000eeab6adf87cb7ac50 (diff)
downloadhercules-c653d967508c194133d64e0c28fcc3dc0665cd77.tar.gz
hercules-c653d967508c194133d64e0c28fcc3dc0665cd77.tar.bz2
hercules-c653d967508c194133d64e0c28fcc3dc0665cd77.tar.xz
hercules-c653d967508c194133d64e0c28fcc3dc0665cd77.zip
Merge pull request #1964 from MishimaHaruna/clanfix
Clanfix
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 6e98fc093..938b587f3 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2058,7 +2058,7 @@ bool unit_can_reach_bl(struct block_list *bl,struct block_list *tbl, int range,
#ifdef OFFICIAL_WALKPATH
if( !path->search_long(NULL, bl, bl->m, bl->x, bl->y, tbl->x-dx, tbl->y-dy, CELL_CHKNOPASS) // Check if there is an obstacle between
- && wpd.path_len > 14 // Official number of walkable cells is 14 if and only if there is an obstacle between. [malufett]
+ && wpd.path_len > 14 // Official number of walkable cells is 14 if and only if there is an obstacle between. [malufett]
&& (bl->type != BL_NPC) ) // If type is a NPC, please disregard.
return false;
#endif