summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-28 00:03:26 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-28 00:03:26 +0000
commit35542f9ed851da21ca19b63ff1f36ca8c980b9f6 (patch)
tree9ff01187f7b93cc541a9e754c0f9d6342eea4430 /src
parent4a6890fe15241e32d936e52ee686d725b20d3410 (diff)
downloadhercules-35542f9ed851da21ca19b63ff1f36ca8c980b9f6.tar.gz
hercules-35542f9ed851da21ca19b63ff1f36ca8c980b9f6.tar.bz2
hercules-35542f9ed851da21ca19b63ff1f36ca8c980b9f6.tar.xz
hercules-35542f9ed851da21ca19b63ff1f36ca8c980b9f6.zip
- Added unlocking ud.target on mob_unlocktarget, fixes mobs chasing you around while cloaked.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6333 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 627137829..6e2bc399f 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -972,6 +972,7 @@ int mob_unlocktarget(struct mob_data *md,int tick)
md->state.skillstate=MSS_IDLE;
md->next_walktime=tick+rand()%3000+3000;
mob_stop_attack(md);
+ md->ud.target = 0;
return 0;
}
/*==========================================