summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-04 02:52:38 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-04 02:52:38 +0000
commitbdb423140e5779fae596257d24665762e33f1bdd (patch)
tree6e28f5c512f1a0da159e9e1205541a644f7cce49 /src/map/mob.c
parent8696a156589a80dffa658458b9a72d90d7de101f (diff)
downloadhercules-bdb423140e5779fae596257d24665762e33f1bdd.tar.gz
hercules-bdb423140e5779fae596257d24665762e33f1bdd.tar.bz2
hercules-bdb423140e5779fae596257d24665762e33f1bdd.tar.xz
hercules-bdb423140e5779fae596257d24665762e33f1bdd.zip
Bug fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@444 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 2f7d748a8..f56b5e4bf 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -765,6 +765,11 @@ static int mob_timer(int tid,unsigned int tick,int id,int data)
break;
}
map_freeblock_unlock();
+ if (md->timer == -1) {
+ mob_changestate(md,MS_WALK,0);
+ if (md->timer == -1)
+ printf("mob_timer : mob %x STILL has no timer\n", md);
+ }
return 0;
}