summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-27 18:00:29 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-27 18:00:29 +0000
commitb9e470f8ecc1441c5377a0fec838abb6773d331d (patch)
treee96d2bc07c81b4a9b6115c14a98cfcabc65dfe17 /src
parent9599b05c3cd2145ea9cd9fe7ce98912705942740 (diff)
downloadhercules-b9e470f8ecc1441c5377a0fec838abb6773d331d.tar.gz
hercules-b9e470f8ecc1441c5377a0fec838abb6773d331d.tar.bz2
hercules-b9e470f8ecc1441c5377a0fec838abb6773d331d.tar.xz
hercules-b9e470f8ecc1441c5377a0fec838abb6773d331d.zip
Re-added a missing mob last_thinktime timer initialization when a mob spawns, causing mob AI to freeze (mistake in r11964)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11986 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 3e3e7719d..8bd7a86c5 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -642,6 +642,7 @@ int mob_spawn (struct mob_data *md)
int i=0;
unsigned int c =0, tick = gettick();
+ md->last_thinktime = tick;
if (md->bl.prev != NULL)
unit_remove_map(&md->bl,2);
else