diff options
author | Fate <fate-tmw@googlemail.com> | 2009-09-13 21:11:49 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-09-13 21:11:49 +0000 |
commit | af28784c5cba267c49bbda8a7bc796249865be2d (patch) | |
tree | 88cdc9c8f95fe7adbef61c2f90f0d796e2968b0b | |
parent | 54147d2ec936a8bc97f8f16c0d474d7d0e57cc74 (diff) | |
download | tmwa-af28784c5cba267c49bbda8a7bc796249865be2d.tar.gz tmwa-af28784c5cba267c49bbda8a7bc796249865be2d.tar.bz2 tmwa-af28784c5cba267c49bbda8a7bc796249865be2d.tar.xz tmwa-af28784c5cba267c49bbda8a7bc796249865be2d.zip |
When a player walks, make sure they stand up
-rw-r--r-- | src/map/pc.c | 3 |
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���ĂԂ悤�ɂ��� |