summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d378f47..b934e13 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3845,6 +3845,9 @@ int pc_walktoxy(struct map_session_data *sd,int x,int y)
sd->to_x=x;
sd->to_y=y;
+ if (pc_issit (sd))
+ pc_setstand(sd);
+
if(sd->walktimer != -1 && sd->state.change_walk_target==0){
// ���ݕ��Ă����Œ��̖ړI�n�ύX�Ȃ̂Ń}�X�ڂ̒��S�ɗ�������
// timer�֐�����pc_walktoxy_sub���ĂԂ悤�ɂ���