summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-07 22:16:57 -0300
committershennetsind <ind@henn.et>2013-09-07 22:16:57 -0300
commiteb530677e51ebda4340c147d11d7d9ef2fb9fe1f (patch)
tree51920bb3f296e57874e936e55975fadde00be9e0 /src/map
parent080f28595faba163657f2143e4098b80189f9b6d (diff)
downloadhercules-eb530677e51ebda4340c147d11d7d9ef2fb9fe1f.tar.gz
hercules-eb530677e51ebda4340c147d11d7d9ef2fb9fe1f.tar.bz2
hercules-eb530677e51ebda4340c147d11d7d9ef2fb9fe1f.tar.xz
hercules-eb530677e51ebda4340c147d11d7d9ef2fb9fe1f.zip
Fixed Bug #7689
Guild Aura affecting units when unit moves, thanks to purityz, kyeme for ability to reproduce. Solution found by Haruna (Thanks!) http://hercules.ws/board/tracker/issue-7689-guild-aura-bug/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-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 c7c0cfcd3..0f52517c6 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -11201,7 +11201,7 @@ int skill_unit_onplace (struct skill_unit *src, struct block_list *bl, unsigned
case UNT_GD_GLORYWOUNDS:
case UNT_GD_SOULCOLD:
case UNT_GD_HAWKEYES:
- if ( !sce )
+ if ( !sce && battle->check_target(&sg->unit->bl,bl,sg->target_flag) > 0 )
sc_start4(bl,type,100,sg->skill_lv,0,0,0,1000);
break;
}