From e25963f4562516f4b4aada3983af567f81555165 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 31 Aug 2006 14:18:37 +0000 Subject: - Fixed @summon's delete timer being screwed up. - Cleaned up a bit the summon script command. - Fixed the clone script command's delete-timer being screwed up. - Corrected battle config name max_walk_rate, it should be named max_walk_speed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8559 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 d217dcf69..73200bd27 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2997,7 +2997,7 @@ int mob_clone_spawn(struct map_session_data *sd, int m, int x, int y, const char if (master_id) //Attach to Master md->master_id = master_id; if (duration) //Auto Delete after a while. - md->deletetimer = add_timer (gettick() + duration, mob_timer_delete, i, 0); + md->deletetimer = add_timer (gettick() + duration, mob_timer_delete, md->bl.id, 0); } #if 0 //I am playing with this for packet-research purposes, enable it if you want, but don't remove it :X [Skotlex] -- cgit v1.2.3-60-g2f50