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://svn.code.sf.net/p/rathena/svn/trunk@11986 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
bd11cdda7a
commit
f16dcdf4d5
@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||
|
||||
2007/12/27
|
||||
* Re-added a missing mob last_thinktime timer initialization when a mob
|
||||
spawns, causing mob AI to freeze (mistake in r11964) [ultramage]
|
||||
* Changed the configure script:
|
||||
- refined the mysql test (wasn't detecting 64 libraries compiled without -m64)
|
||||
- added a test for clock_gettime in -lrt (required for Debian)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user