summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-21 23:45:53 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-21 23:45:53 +0000
commit72fc9343c79775d3c9df910ce78f5b0ee274cb81 (patch)
treef0a39b82973db0fd83c29587fda957276e95dcc1 /src/map/battle.c
parentd64c6ba4231c3802ba478c45ebb3b4fda4d8ed83 (diff)
downloadhercules-72fc9343c79775d3c9df910ce78f5b0ee274cb81.tar.gz
hercules-72fc9343c79775d3c9df910ce78f5b0ee274cb81.tar.bz2
hercules-72fc9343c79775d3c9df910ce78f5b0ee274cb81.tar.xz
hercules-72fc9343c79775d3c9df910ce78f5b0ee274cb81.zip
- Corrected the @follow timer not being deleted on logout.
- Applied the homunculus code fixes provided by Toms. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7820 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 257fceb16..14e82f792 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3088,6 +3088,8 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
return 0;
//Just fallback on master.
t_bl=(struct block_list *)((TBL_HOMUNCULUS*)target)->master;
+ if (((TBL_PC*)t_bl)->state.monster_ignore && t_bl != s_bl && flag&BCT_ENEMY)
+ return 0;
break;
}
case BL_SKILL: //Skill with no owner? Kinda odd... but.. let it through.