diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-19 19:40:19 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-19 19:40:19 +0000 |
commit | 334f81bebe92b6014d4b21607de5539d99af0cf1 (patch) | |
tree | 77d5e9a5de1ae1c8be254ad5796687f1a2c634a6 /src/map/npc.c | |
parent | a2decc5d8acbf0c309c1396d4023c490d6e6a038 (diff) | |
download | hercules-334f81bebe92b6014d4b21607de5539d99af0cf1.tar.gz hercules-334f81bebe92b6014d4b21607de5539d99af0cf1.tar.bz2 hercules-334f81bebe92b6014d4b21607de5539d99af0cf1.tar.xz hercules-334f81bebe92b6014d4b21607de5539d99af0cf1.zip |
- removed 'skill_fail' message when a ground skill fails as that caues double 'skill failed' messages in several instances.
- Corrected shop freeing using free instead of aFree ,causing memory leak reports.
- Corrected the sc def settings modifying tick_def in regards to sc_def instead of tick_def
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11762 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 c65997d39..ea5e17502 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1300,7 +1300,7 @@ int npc_unload(struct npc_data* nd) #endif if( nd->bl.subtype == SHOP ) - free(nd->u.shop.shop_item); + aFree(nd->u.shop.shop_item); else if( nd->bl.subtype == SCRIPT ) { |