From 72321b062923247d9d844828363de609cc2fa849 Mon Sep 17 00:00:00 2001 From: amber Date: Fri, 10 Dec 2004 06:32:17 +0000 Subject: update git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@531 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map') 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; } -- cgit v1.2.3-70-g09d2