summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-02-07 04:13:05 +0100
committerHaru <haru@dotalux.com>2018-02-10 01:23:16 +0100
commit952df452e7ac9a62c9bc2db3e26958649270f2f4 (patch)
tree6f653c6c829db2451dc20f13e0ab51f2b943d3e0 /src/map/unit.c
parentba28b56a6b3180c7d13c196ecb44fddd3d63a4f6 (diff)
downloadhercules-952df452e7ac9a62c9bc2db3e26958649270f2f4.tar.gz
hercules-952df452e7ac9a62c9bc2db3e26958649270f2f4.tar.bz2
hercules-952df452e7ac9a62c9bc2db3e26958649270f2f4.tar.xz
hercules-952df452e7ac9a62c9bc2db3e26958649270f2f4.zip
Clean up trailing whitespace and non-indent tabs
Signed-off-by: Haru <haru@dotalux.com>
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