summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-18 17:16:06 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-18 17:16:06 +0000
commit83752dab1d6888cb3bc74d14ff8ba30dfaeb2985 (patch)
treef6f4c1d2da436d1bcf6a9c3fbe763fd75755b749 /src
parent1ef8b3402619bf072930e530802401ebdf2fe980 (diff)
downloadhercules-83752dab1d6888cb3bc74d14ff8ba30dfaeb2985.tar.gz
hercules-83752dab1d6888cb3bc74d14ff8ba30dfaeb2985.tar.bz2
hercules-83752dab1d6888cb3bc74d14ff8ba30dfaeb2985.tar.xz
hercules-83752dab1d6888cb3bc74d14ff8ba30dfaeb2985.zip
Autotrade characters will no longer get caught by Urgent Recall. (bugreport:2447)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13375 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 0923748da..fe1838eda 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5203,7 +5203,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
clif_skill_nodamage(src,bl,skillid,skilllv,1);
for(i = 0; i < g->max_member; i++, j++) {
if (j>8) j=0;
- if ((dstsd = g->member[i].sd) != NULL && sd != dstsd && !pc_isdead(dstsd)) {
+ if ((dstsd = g->member[i].sd) != NULL && sd != dstsd && !pc_isdead(dstsd) && !dstsd->state.autotrade) {
if (map[dstsd->bl.m].flag.nowarp && !map_flag_gvg2(dstsd->bl.m))
continue;
if(map_getcell(src->m,src->x+dx[j],src->y+dy[j],CELL_CHKNOREACH))