summaryrefslogtreecommitdiff
path: root/src/map/path.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-24 04:04:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-24 04:04:24 +0000
commit5f65b327394405e26dbab1f93f82e524292b9381 (patch)
tree9be5f76aba44dfbf4a38c01e4ff8f0be1c8c3e13 /src/map/path.c
parent9694f77616b2f127bcde59d49cc7e3cad832d0b3 (diff)
downloadhercules-5f65b327394405e26dbab1f93f82e524292b9381.tar.gz
hercules-5f65b327394405e26dbab1f93f82e524292b9381.tar.bz2
hercules-5f65b327394405e26dbab1f93f82e524292b9381.tar.xz
hercules-5f65b327394405e26dbab1f93f82e524292b9381.zip
- 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
Diffstat (limited to 'src/map/path.c')
-rw-r--r--src/map/path.c11
1 files changed, 0 insertions, 11 deletions
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;