summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 02:55:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 02:55:24 +0000
commit93dca33bf53ddeba191f553e816ba7bb72774cc0 (patch)
tree04a8cb4c44c1d940b39c3d65c795c66cfd89aa73 /src/map/mob.c
parent91a25bb1534462030596bcd17784cd91e95cd88a (diff)
downloadhercules-93dca33bf53ddeba191f553e816ba7bb72774cc0.tar.gz
hercules-93dca33bf53ddeba191f553e816ba7bb72774cc0.tar.bz2
hercules-93dca33bf53ddeba191f553e816ba7bb72774cc0.tar.xz
hercules-93dca33bf53ddeba191f553e816ba7bb72774cc0.zip
- Applied the necessary changes to make @partyoption reflect it's changes on the alt+p window.
- Some code indentation cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7905 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index a0022ab2b..039a53fb1 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1170,13 +1170,13 @@ static int mob_ai_sub_hard(struct block_list *bl,va_list ap)
(mode&MD_ANGRY && md->state.skillstate == MSS_FOLLOW)
) {
map_foreachinrange (mob_ai_sub_hard_activesearch, &md->bl,
- view_range, md->special_state.ai?BL_CHAR:BL_PC|BL_HOMUNCULUS, md, &tbl); //[orn]
+ view_range, md->special_state.ai?BL_CHAR:BL_PC|BL_HOMUNCULUS, md, &tbl);
if(!tbl && mode&MD_ANGRY && !md->state.aggressive)
md->state.aggressive = 1; //Restore angry state when no targets are visible.
} else if (mode&MD_CHANGECHASE && (md->state.skillstate == MSS_RUSH || md->state.skillstate == MSS_FOLLOW)) {
search_size = view_range<md->status.rhw.range ? view_range:md->status.rhw.range;
map_foreachinrange (mob_ai_sub_hard_changechase, &md->bl,
- search_size, (md->special_state.ai?BL_CHAR:BL_PC|BL_HOMUNCULUS), md, &tbl); //[orn]
+ search_size, (md->special_state.ai?BL_CHAR:BL_PC|BL_HOMUNCULUS), md, &tbl);
}
if (tbl)