diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 12c69537a..bf8cbe293 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -764,9 +764,11 @@ static int mob_timer(int tid,unsigned int tick,int id,int data) printf("mob_timer : %d ?\n",md->state.state); break; } - map_freeblock_unlock(); + if (md->timer == -1) mob_changestate(md,MS_WALK,0); + + map_freeblock_unlock(); return 0; } |