From 3a59570a1c21f4b5903842b0ba8639e79aae7174 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Jul 2016 19:28:15 +0300 Subject: Reset sitting skills is start walking while sit. --- src/emap/unit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/emap/unit.c') 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; } -- cgit v1.2.3-70-g09d2