summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-16 16:08:01 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-16 16:08:01 +0000
commit6e4d98865963ef3e85df488716e9a97bfcacc98b (patch)
tree02501055909d8db00138b69db2a8e8c841f0cc72 /src/map/clif.c
parentd5155d42388cf3540fdf415512c2bfad0c8d5f8e (diff)
downloadhercules-6e4d98865963ef3e85df488716e9a97bfcacc98b.tar.gz
hercules-6e4d98865963ef3e85df488716e9a97bfcacc98b.tar.bz2
hercules-6e4d98865963ef3e85df488716e9a97bfcacc98b.tar.xz
hercules-6e4d98865963ef3e85df488716e9a97bfcacc98b.zip
* mob_chat_sub fix. Added buildin_pcblockmove.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5628 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;