summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}