diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-26 14:27:19 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-26 14:27:19 +0000 |
commit | 829350723346e4dda27c4eaf3395c3d36f12c409 (patch) | |
tree | c302f7c810aa4d0cedb5722ba8098ff61cec69d7 /src/map/clif.c | |
parent | 158791a9e31025b73ea3d1bcb36212ee61740dcb (diff) | |
download | hercules-829350723346e4dda27c4eaf3395c3d36f12c409.tar.gz hercules-829350723346e4dda27c4eaf3395c3d36f12c409.tar.bz2 hercules-829350723346e4dda27c4eaf3395c3d36f12c409.tar.xz hercules-829350723346e4dda27c4eaf3395c3d36f12c409.zip |
- Fixed duration of Box_Of_Sunlight. (bugreport:4408)
- Fixed some small typos in KVM scripts. (bugreport:4403)
- Fixed @refresh leaving you stuck if you had a chat window open.
- Changed @refresh to also send your facing direction.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14394 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 1dfdbd899..d6cb41ce4 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7735,10 +7735,14 @@ int clif_refresh(struct map_session_data *sd) } map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd); clif_weather_check(sd); + if( sd->chatID ) + chat_leavechat(sd,0); if( pc_issit(sd) ) clif_sitting(&sd->bl); // FIXME: just send to self, not area if( pc_isdead(sd) ) //When you refresh, resend the death packet. clif_clearunit_single(sd->bl.id,1,sd->fd); + else + clif_changed_dir(&sd->bl, SELF); #ifndef TXT_ONLY mail_clear(sd); |