summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-13 02:34:19 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-13 02:34:19 +0000
commit462927e702cf7254e08dcc935beed0fa16fa203f (patch)
treee3f4edb846e0a27e539abea15978e3dbcbfe4bc4 /src/map/mob.c
parent293b6db260480627d08bc4465af88e01b0b4edcf (diff)
downloadhercules-462927e702cf7254e08dcc935beed0fa16fa203f.tar.gz
hercules-462927e702cf7254e08dcc935beed0fa16fa203f.tar.bz2
hercules-462927e702cf7254e08dcc935beed0fa16fa203f.tar.xz
hercules-462927e702cf7254e08dcc935beed0fa16fa203f.zip
- Added handling of type BL_PET to skill_unitgrouptickset_search. I know pets normally aren't affected by skills, but their structure already had support for this, so....
- Rewrote/simplified functions skill_addtimerskill/skill_cleartimerskill - Fixed SC_DANCING for non players (was making dances only last 1 second for them) - Modified map_moveblock to handle calls to skill_unit_move_unit_group and cancelling of Close Confine effects, removed these checks from the walk functions and skill_blown functions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 590cbf323..5e0d807c7 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -570,8 +570,6 @@ static int mob_walk(struct mob_data *md,unsigned int tick,int data)
map_foreachinmovearea(clif_mobinsight,md->bl.m,x-AREA_SIZE,y-AREA_SIZE,x+AREA_SIZE,y+AREA_SIZE,-dx,-dy,BL_PC,md);
md->state.state=MS_IDLE;
- if(md->sc.option&OPTION_CLOAK)
- skill_check_cloaking(&md->bl);
}
if((i=calc_next_walk_step(md))>0){
i = i>>1;