From 829350723346e4dda27c4eaf3395c3d36f12c409 Mon Sep 17 00:00:00 2001 From: brianluau Date: Thu, 26 Aug 2010 14:27:19 +0000 Subject: - 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 --- src/map/clif.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map') 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); -- cgit v1.2.3-70-g09d2