From 9d1b39d3facc6d9f1268e036e7b23bd410c683ec Mon Sep 17 00:00:00 2001 From: ultramage Date: Tue, 13 Jan 2009 10:38:54 +0000 Subject: Mobs with nonzero spawn time can now be cached as well, saving some more cpu/memory (bugreport:1197). Fixed dynamic mobs being unloaded without stopping their respawn timer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13445 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index 8b522548f..91f5e4600 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -719,7 +719,7 @@ int mob_linksearch(struct block_list *bl,va_list ap) /*========================================== * mob spawn with delay (timer function) *------------------------------------------*/ -static int mob_delayspawn(int tid, unsigned int tick, int id, intptr data) +int mob_delayspawn(int tid, unsigned int tick, int id, intptr data) { struct block_list *bl = map_id2bl(id); if (bl && bl->type == BL_MOB && bl->prev == NULL) -- cgit v1.2.3-60-g2f50