From 5f65b327394405e26dbab1f93f82e524292b9381 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 24 Feb 2006 04:04:24 +0000 Subject: - Fixed the CL_WHITE define, thanks to FlavioJS - NPC break equipment stuff now has a 1.5% per skilllv success rate. - pc_setpos won't random warp players if placed on top of Moonlight Petals - Removed the check in clif.c for npc_shopid as the client never sends a packet when the trade is cancelled... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5384 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/path.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/map/path.c') diff --git a/src/map/path.c b/src/map/path.c index 03f34ead1..7e6dd9464 100644 --- a/src/map/path.c +++ b/src/map/path.c @@ -366,17 +366,6 @@ int path_search_real(struct walkpath_data *wpd,int m,int x0,int y0,int x1,int y1 return 0; } -#ifdef CELL_NOSTACK -/* Should not be needed, let's try and see. - //If you fail by 1 cell, consider easy path successful, too. [Skotlex] - if (check_distance(x-x1,y-y1,1)) { - wpd->path_len=i; - wpd->path_pos=0; - wpd->path_half=0; - return 0; - } -*/ -#endif if(flag&1) return -1; -- cgit v1.2.3-60-g2f50