diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-09 19:28:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-09 19:28:15 +0300 |
commit | 3a59570a1c21f4b5903842b0ba8639e79aae7174 (patch) | |
tree | 3ba31dddd614c2a4bbfec2e40f1f31b2aa2f36a6 | |
parent | 8d845d8de564f6ab8d9787cac84c942403a668f7 (diff) | |
download | plugin-3a59570a1c21f4b5903842b0ba8639e79aae7174.tar.gz plugin-3a59570a1c21f4b5903842b0ba8639e79aae7174.tar.bz2 plugin-3a59570a1c21f4b5903842b0ba8639e79aae7174.tar.xz plugin-3a59570a1c21f4b5903842b0ba8639e79aae7174.zip |
Reset sitting skills is start walking while sit.
-rw-r--r-- | src/emap/unit.c | 3 |
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; } |