diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-05 16:49:25 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-05 16:49:25 +0000 |
commit | 7bd6dc90242a21989a366a708b244ebf2ec4b44b (patch) | |
tree | 2a16857e0892e7038bab5a2209a189c28fc99060 /src/map/unit.c | |
parent | bcdc5ca3a54da85dee7944a451e6762f692c6c0a (diff) | |
download | hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.gz hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.bz2 hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.tar.xz hercules-7bd6dc90242a21989a366a708b244ebf2ec4b44b.zip |
Implemented Renewal ASPD formula(bugreport:5644)
- all suggestions/contributions/comments regarding RE ASPD ATM will be entertained in [tid:63256]
Fixed bugreport:6176 where WM_LULLABY_DEEPSLEEP doesn't target all party and guild members.
Temporarily disable the official walk path until the right algorithm is formulated.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16378 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index dbd71878c..2d99940f0 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -322,9 +322,10 @@ int unit_walktoxy( struct block_list *bl, short x, short y, int flag) ud = unit_bl2ud(bl); if( ud == NULL) return 0; -#ifdef OFFICIAL_WALKPATH - if( !path_search_long(NULL, bl->m, bl->x, bl->y, x, y, CELL_CHKWALL) ) return 0; -#endif +// disabled until we find the correct algorithm. [malufett] +//#ifdef OFFICIAL_WALKPATH +// if( !path_search_long(NULL, bl->m, bl->x, bl->y, x, y, CELL_CHKWALL) ) return 0; +//#endif if (flag&4 && DIFF_TICK(ud->canmove_tick, gettick()) > 0 && DIFF_TICK(ud->canmove_tick, gettick()) < 2000) { // Delay walking command. [Skotlex] |