diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-07 12:07:41 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-07 12:07:41 +0000 |
commit | 1f116d82acf9e607f50799669a729e9c460fa0fe (patch) | |
tree | 7064d01096c8127d861242c5a456cd863051d8d0 /src/map/skill.c | |
parent | 5fcb1d1d2919fb03b895184567b5ab78a27b6bc6 (diff) | |
download | hercules-1f116d82acf9e607f50799669a729e9c460fa0fe.tar.gz hercules-1f116d82acf9e607f50799669a729e9c460fa0fe.tar.bz2 hercules-1f116d82acf9e607f50799669a729e9c460fa0fe.tar.xz hercules-1f116d82acf9e607f50799669a729e9c460fa0fe.zip |
Usage of map_flag_gvg2() in Emergency Recall code (minor followup to r12770).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12774 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 1fcda26c7..8bc055c2a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5018,7 +5018,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in for(i = 0; i < g->max_member; i++, j++) { if (j>8) j=0; if ((dstsd = g->member[i].sd) != NULL && sd != dstsd) { - if (map[dstsd->bl.m].flag.nowarp && !map[dstsd->bl.m].flag.gvg_castle) + 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)) dx[j] = dy[j] = 0; |