|
@@ -7300,12 +7300,18 @@ int skill_unit_onlimit(struct skill_unit *src,unsigned int tick)
|
|
|
case UNT_CALLFAMILY: /* ‚ ‚È‚½‚É?‚¢‚½‚¢ */
|
|
|
{
|
|
|
struct map_session_data *sd = NULL;
|
|
|
- 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(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);
|
|
|
+ if(sg->val1) {
|
|
|
+ sd = map_charid2sd(sg->val1);
|
|
|
+ sg->val1 = 0;
|
|
|
+ if (sd && !map[sd->bl.m].flag.nowarp)
|
|
|
+ pc_setpos(sd,map[src->bl.m].index,src->bl.x,src->bl.y,3);
|
|
|
+ }
|
|
|
+ if(sg->val2) {
|
|
|
+ sd = map_charid2sd(sg->val2);
|
|
|
+ sg->val2 = 0;
|
|
|
+ if (sd && !map[sd->bl.m].flag.nowarp)
|
|
|
+ pc_setpos(sd,map[src->bl.m].index,src->bl.x,src->bl.y,3);
|
|
|
+ }
|
|
|
}
|
|
|
break;
|
|
|
}
|