summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-06-15 03:25:38 -0300
committerEuphy <euphy@rathena.org>2013-06-15 15:58:17 -0400
commitfa0c8cda0b2f68fa742572409c8f77e65d5d0011 (patch)
tree5ff06d6d33fc31dd6d5dc1f54b6639684bf0cf0a /src/map/unit.c
parent533c8b3500aad49f0b00423c69e44ac8afa9faf0 (diff)
downloadhercules-fa0c8cda0b2f68fa742572409c8f77e65d5d0011.tar.gz
hercules-fa0c8cda0b2f68fa742572409c8f77e65d5d0011.tar.bz2
hercules-fa0c8cda0b2f68fa742572409c8f77e65d5d0011.tar.xz
hercules-fa0c8cda0b2f68fa742572409c8f77e65d5d0011.zip
- HPM: Added trade interface;
- Moved PARTY_RECRUIT definition to mmo.h to avoid segfault; - Check if item is already at maximum refine; - Fixed that @reloadscript with one npc bug (thanks to akinari). Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index e5637e42d..021859bba 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2104,7 +2104,7 @@ int unit_remove_map_(struct block_list *bl, clr_type clrtype, const char* file,
if(sd->chatID)
chat_leavechat(sd,0);
if(sd->trade_partner)
- trade_tradecancel(sd);
+ trade->cancel(sd);
buyingstore->close(sd);
searchstore->close(sd);
if(sd->state.storage_flag == 1)