From 0c3055fdbf06b7ca736edaa63e9a414081cd847b Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 28 Mar 2006 21:23:27 +0000 Subject: - Fixed (?) the Family recall warp skills. - Fixed pc_percentheal giving life when the rates are negative. - Fixed resetting stats losing the +52 bonus on high classes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5793 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 25deef213..aa93b5d1b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7276,10 +7276,10 @@ int skill_unit_onlimit(struct skill_unit *src,unsigned int tick) case UNT_CALLFAMILY: /* ‚ ‚È‚½‚É?‚¢‚½‚¢ */ { struct map_session_data *sd = NULL; - if(src->val1 && (sd = map_charid2sd(src->val1)) + if(sg->val1 && (sd = map_charid2sd(sg->val1)) && !map[sd->bl.m].flag.nowarp) pc_setpos(sd,map[src->bl.m].index,src->bl.x,src->bl.y,3); - if(src->val2 && (sd = map_charid2sd(src->val2)) + if(sg->val2 && (sd = map_charid2sd(sg->val2)) && !map[sd->bl.m].flag.nowarp) pc_setpos(sd,map[src->bl.m].index,src->bl.x,src->bl.y,3); } -- cgit v1.2.3-70-g09d2