summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index afe638f1b..31020bf6d 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3382,9 +3382,9 @@ int pc_run(struct map_session_data *sd, int skilllv, int dir)
if(to_x == sd->bl.x && to_y == sd->bl.y){
if(sd->sc.data[SC_RUN].timer!=-1)
status_change_end(&sd->bl,SC_RUN,-1);
- } else
- pc_walktoxy(sd, to_x, to_y);
-
+ return 0;
+ }
+ pc_walktoxy(sd, to_x, to_y);
return 1;
}
/*==========================================