summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-10 06:32:17 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-10 06:32:17 +0000
commit72321b062923247d9d844828363de609cc2fa849 (patch)
tree4b12755075690a91eb12664bd7144b4c74b03f23 /src
parent77523746c63bc08f261bb68b7aa2492b0ba6546b (diff)
downloadhercules-72321b062923247d9d844828363de609cc2fa849.tar.gz
hercules-72321b062923247d9d844828363de609cc2fa849.tar.bz2
hercules-72321b062923247d9d844828363de609cc2fa849.tar.xz
hercules-72321b062923247d9d844828363de609cc2fa849.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@531 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.c4
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;
}