summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-13 00:17:32 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-13 00:17:32 +0000
commitdc2e94dba8a7d0a894456ac03262f14c5a9090ca (patch)
tree0c778a51ae75afe77b22e11339a8abf40d7b7d88 /src/map/npc.c
parente0fff5c212007819f29a3406629967d36bc6ede1 (diff)
downloadhercules-dc2e94dba8a7d0a894456ac03262f14c5a9090ca.tar.gz
hercules-dc2e94dba8a7d0a894456ac03262f14c5a9090ca.tar.bz2
hercules-dc2e94dba8a7d0a894456ac03262f14c5a9090ca.tar.xz
hercules-dc2e94dba8a7d0a894456ac03262f14c5a9090ca.zip
- 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
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}