summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-09 19:28:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-09 19:28:15 +0300
commit3a59570a1c21f4b5903842b0ba8639e79aae7174 (patch)
tree3ba31dddd614c2a4bbfec2e40f1f31b2aa2f36a6 /src
parent8d845d8de564f6ab8d9787cac84c942403a668f7 (diff)
downloadevol-hercules-3a59570a1c21f4b5903842b0ba8639e79aae7174.tar.gz
evol-hercules-3a59570a1c21f4b5903842b0ba8639e79aae7174.tar.bz2
evol-hercules-3a59570a1c21f4b5903842b0ba8639e79aae7174.tar.xz
evol-hercules-3a59570a1c21f4b5903842b0ba8639e79aae7174.zip
Reset sitting skills is start walking while sit.
Diffstat (limited to 'src')
-rw-r--r--src/emap/unit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/unit.c b/src/emap/unit.c
index c0db6b2..21f87b8 100644
--- a/src/emap/unit.c
+++ b/src/emap/unit.c
@@ -163,7 +163,10 @@ int eunit_walktoxy_pre(struct block_list **blPtr __attribute__ ((unused)),
TBL_PC *sd = BL_CAST(BL_PC, bl);
if (sd && pc_issit(sd))
+ {
pc->setstand(sd);
+ skill->sit(sd, 0);
+ }
return 1;
}