summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-15 05:00:04 -0300
committershennetsind <ind@henn.et>2013-06-15 05:00:04 -0300
commitcf78bebc95e3387cf7fbe0720825bacb95c1b61a (patch)
treee895ec5f3f9baa111476af18607ec292f06d9df6 /src/map/unit.c
parent1dd4882c00b82d9a2f138211dbc2c8c542e2af88 (diff)
parentde3f4423058405636c76e05cd87a6eae0bfa7707 (diff)
downloadhercules-cf78bebc95e3387cf7fbe0720825bacb95c1b61a.tar.gz
hercules-cf78bebc95e3387cf7fbe0720825bacb95c1b61a.tar.bz2
hercules-cf78bebc95e3387cf7fbe0720825bacb95c1b61a.tar.xz
hercules-cf78bebc95e3387cf7fbe0720825bacb95c1b61a.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
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)