summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 040644127..13e936f18 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8874,8 +8874,9 @@ void clif_parse_WalkToXY(int fd, struct map_session_data *sd) {
return;
}
- if (pc_issit(sd)) //No walking when you are sit!
- return;
+ // Redundancy, used in pc_can_move already
+ //if (pc_issit(sd)) //No walking when you are sit!
+ // return;
if (clif_cant_act(sd))
return;
@@ -8886,6 +8887,9 @@ void clif_parse_WalkToXY(int fd, struct map_session_data *sd) {
if (!pc_can_move(sd))
return;
+ if(sd->state.blockedmove)
+ return;
+
if(sd->sc.count && sd->sc.data[SC_RUN].timer != -1)
return;