summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-22 10:09:30 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-22 10:09:30 +0000
commit465fca8dbd6e4eac36d0207b3981c05daa34c715 (patch)
tree90d853c65385d6a6cc1b799bdfea214e12cd8818
parent15248492ed2ed7076f3327d8d8ca3b12a37ec4c3 (diff)
downloadhercules-465fca8dbd6e4eac36d0207b3981c05daa34c715.tar.gz
hercules-465fca8dbd6e4eac36d0207b3981c05daa34c715.tar.bz2
hercules-465fca8dbd6e4eac36d0207b3981c05daa34c715.tar.xz
hercules-465fca8dbd6e4eac36d0207b3981c05daa34c715.zip
- Basilica knockback effect is only for mobs, not everybody x.x
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12875 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/unit.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 715bb11e4..ac89f3c1e 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -218,7 +218,7 @@ static int unit_walktoxy_timer(int tid, unsigned int tick, int id, intptr data)
else
i = status_get_speed(bl);
- if (map_getcell(bl->m,x,y,CELL_CHKBASILICA)) {
+ if( md && map_getcell(bl->m,x,y,CELL_CHKBASILICA) ) {
skill_blown(bl,bl,2,unit_getdir(bl),0);
clif_fixpos(bl);
}
@@ -677,9 +677,8 @@ int unit_stop_walking(struct block_list *bl,int type)
ud->canmove_tick = gettick() + (type>>8);
//Readded, the check in unit_set_walkdelay means dmg during running won't fall through to this place in code [Kevin]
- if (ud->state.running)
- status_change_end(bl, SC_RUN, -1);
-
+ if (ud->state.running)
+ status_change_end(bl, SC_RUN, -1);
return 1;
}