From 89d430b2c4d770d7d5c073710a21bd24df5f3f0c Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 3 Jun 2007 14:43:34 +0000 Subject: - Fixed missing client update when 'return to savepoint' fails - Fixed a bad copy-paste from r10028 letting players escape jail (char was dead on login, so statuses (SC_JAILED) couln't be applied) - Added clif_standing() to clif_sitting(), and used them in clif.c - Cleaned up clif.c a bit - clif_clearchar->clif_clearunit_area, clif_clearchar_id->clif_clearunit_single git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10668 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 27b18fbbc..2b3d91dd4 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -745,7 +745,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s unit_stop_attack(target); unit_stop_walking(target,0); unit_skillcastcancel(target,0); - clif_clearchar_area(target,1); + clif_clearunit_area(target,1); skill_unit_move(target,gettick(),4); skill_cleartimerskill(target); } @@ -5285,7 +5285,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val case SC_TENSIONRELAX: if (sd) { pc_setsit(sd); - clif_sitting(sd); + clif_sitting(sd, AREA); } val2 = 12; //SP cost val4 = 10000; //Decrease at 10secs intervals. -- cgit v1.2.3-70-g09d2