git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17278 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -329,7 +329,7 @@ int unit_walktoxy( struct block_list *bl, short x, short y, int flag)
&& wpd.path_len > 14 ) // Official number of walkable cells is 14 if and only if there is an obstacle between. [malufett]
return 0;
#endif
- if( battle_config.max_walk_path < wpd.path_len )
+ if( (battle_config.max_walk_path < wpd.path_len) && (bl->type != BL_NPC) )
if (flag&4 && DIFF_TICK(ud->canmove_tick, gettick()) > 0 &&