summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-06-15 03:25:38 -0300
committerMatheus Macabu <mkbu95@gmail.com>2013-06-15 03:25:38 -0300
commitb745cb176a16e771bf5bbae43a7445cf160d1342 (patch)
tree48bc1d0fb831d679c4666f70e3acd92e6ed01ddd /src/map/unit.c
parent634bcc63b7adff53d817c19195c4060170eeecfc (diff)
downloadhercules-b745cb176a16e771bf5bbae43a7445cf160d1342.tar.gz
hercules-b745cb176a16e771bf5bbae43a7445cf160d1342.tar.bz2
hercules-b745cb176a16e771bf5bbae43a7445cf160d1342.tar.xz
hercules-b745cb176a16e771bf5bbae43a7445cf160d1342.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)