From dc2e94dba8a7d0a894456ac03262f14c5a9090ca Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 13 Feb 2007 00:17:32 +0000 Subject: - Reverted Venom Splasher's element to take your weapon's - reverted the item skill usage update since Flywings and the like do not use skill use scripts anymore. - Restored tid when a castend-id skill becomes castend-pos, fixes certain skills, most notably Resurrect Homunculus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9858 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/npc.c') diff --git a/src/map/npc.c b/src/map/npc.c index 0924e6c1f..ec6f143d1 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2984,7 +2984,7 @@ int do_final_npc(void) if ((bl = map_id2bl(i))){ if (bl->type == BL_NPC) npc_unload((struct npc_data *)bl); - else if (bl->type&(BL_MOB|BL_PET))//# why BL_PET? [FlavioJS] //# Because this is invoked after saving/wiping all players, which would include all pets. This bit of code will take care of any pets without a master that are still lingering in the map. [Skotlex] + else if (bl->type&(BL_MOB|BL_PET|BL_HOM)) unit_free(bl, 0); } } -- cgit v1.2.3-70-g09d2