diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-31 18:22:14 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-31 18:22:14 +0000 |
commit | d90b9f6768e9e33efc97d769f24fe0315da683ac (patch) | |
tree | 4218fcb1a9b505bcd1f5f887dc63713a12cd28d7 /src/map/mob.c | |
parent | c236918cc7633f8aca945f190ed44dff8c57fde1 (diff) | |
download | hercules-d90b9f6768e9e33efc97d769f24fe0315da683ac.tar.gz hercules-d90b9f6768e9e33efc97d769f24fe0315da683ac.tar.bz2 hercules-d90b9f6768e9e33efc97d769f24fe0315da683ac.tar.xz hercules-d90b9f6768e9e33efc97d769f24fe0315da683ac.zip |
- Fixed skill_check_cloak to use the current skill level of the cloaking skill and not pc_checkskill() to know if a cloaker away from a wall should be uncloaked.
- Likely fixed opening guild storage.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5146 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index fb7b30bef..d07b420d2 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -565,7 +565,7 @@ 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->option&4)
+ if(md->option&OPTION_CLOAK)
skill_check_cloaking(&md->bl);
}
if((i=calc_next_walk_step(md))>0){
|