summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/unit.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 2858a9b6d..06a0a07bf 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -220,13 +220,7 @@ static int unit_walktoxy_timer(int tid, unsigned int tick, int id, intptr data)
if(i > 0)
ud->walktimer = add_timer(tick+i,unit_walktoxy_timer,id,i);
-
- if (map_getcell(bl->m,x,y,CELL_CHKBASILICA)) {
- skill_blown(bl,bl,2,unit_getdir(bl),0);
- clif_fixpos(bl);
- }
-
- if(ud->state.running) {
+ else if(ud->state.running) {
//Keep trying to run.
if (!unit_run(bl))
ud->state.running = 0;