summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
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;
}