summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-02-22 20:45:27 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-02-22 20:45:27 +0800
commit915365b27f5e35e8957e25d9ea7231ad1c4f8861 (patch)
tree072e07a4b3411a29ae762ddd4568f1bd4f5c6d7c /src/map/battle.c
parent84926b94e869a19f08a7a25df15b4c677316cd32 (diff)
downloadhercules-915365b27f5e35e8957e25d9ea7231ad1c4f8861.tar.gz
hercules-915365b27f5e35e8957e25d9ea7231ad1c4f8861.tar.bz2
hercules-915365b27f5e35e8957e25d9ea7231ad1c4f8861.tar.xz
hercules-915365b27f5e35e8957e25d9ea7231ad1c4f8861.zip
Fixed Bug #7087
-Updated official behavior of warp portal dealing with skill requirement and casting. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 924c9d8a5..197b0578a 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5195,7 +5195,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
case BL_MOB:
if(((((TBL_MOB*)target)->special_state.ai == 2 || //Marine Spheres
(((TBL_MOB*)target)->special_state.ai == 3 && battle_config.summon_flora&1)) && //Floras
- s_bl->type == BL_PC && src->type != BL_MOB) || ((TBL_MOB*)target)->special_state.ai == 4 && t_bl->id != src->id) //Zanzoe
+ s_bl->type == BL_PC && src->type != BL_MOB) || ((TBL_MOB*)target)->special_state.ai == 4 && t_bl->id != s_bl->id) //Zanzoe
{ //Targettable by players
state |= BCT_ENEMY;
strip_enemy = 0;