diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-21 01:16:30 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-21 01:16:30 +0000 |
commit | d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951 (patch) | |
tree | 66c00609b6d6d28d23c4116037c56c6523490d8b /src/map/npc.c | |
parent | 14895a5d9a96190f589bc52f867290e83c01a211 (diff) | |
download | hercules-d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951.tar.gz hercules-d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951.tar.bz2 hercules-d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951.tar.xz hercules-d3a2bbe60ca0a543713bc0bdd280be7c9c9c2951.zip |
- Moved md5calc to common
- Answered Skotlex's question and fixed "warning: comparison is always false due to limited range of data type" by restricting script words to ASCII characters only.
- Applied "svn:eol-style native" to makefiles and project files
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9544 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 8e2a0d009..95cb4b177 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2943,7 +2943,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))//# 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] unit_free(bl, 0); } } |