diff options
author | Matheus Macabu <mkbu95@gmail.com> | 2013-06-15 03:25:38 -0300 |
---|---|---|
committer | Matheus Macabu <mkbu95@gmail.com> | 2013-06-15 03:25:38 -0300 |
commit | b745cb176a16e771bf5bbae43a7445cf160d1342 (patch) | |
tree | 48bc1d0fb831d679c4666f70e3acd92e6ed01ddd /src/map/unit.c | |
parent | 634bcc63b7adff53d817c19195c4060170eeecfc (diff) | |
download | hercules-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.c | 2 |
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) |