diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-09 22:13:25 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-09 22:13:25 +0000 |
commit | 5972e1349abc1d4343b970c28faf263218635eb5 (patch) | |
tree | 499313244cf63e5d8b18755f53ac462636d0d4de /src/map/mob.c | |
parent | 0638d728c718e648e622a524e5c3010d23b049d0 (diff) | |
download | hercules-5972e1349abc1d4343b970c28faf263218635eb5.tar.gz hercules-5972e1349abc1d4343b970c28faf263218635eb5.tar.bz2 hercules-5972e1349abc1d4343b970c28faf263218635eb5.tar.xz hercules-5972e1349abc1d4343b970c28faf263218635eb5.zip |
- Modified @warp/@rura to prevent causing pc_setpos position error messages.
- Fixed the mob's last_thinktime not being updated on mob_spawn, causing them to not "think".
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5971 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 2fed0ca55..509f1c359 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -650,6 +650,7 @@ int mob_spawn (struct mob_data *md) unsigned int c =0, tick = gettick();
md->last_spawntime = tick;
+ md->last_thinktime = tick -MIN_MOBTHINKTIME;
if (md->bl.prev != NULL)
unit_remove_map(&md->bl,2);
else if (md->vd->class_ != md->class_) {
|