summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-27 14:31:26 -0300
committershennetsind <ind@henn.et>2013-09-27 14:32:05 -0300
commita4c5e17bba98d65bedf917c03bb60bf0550af688 (patch)
treeadd761fae1d3a240922ee6398305d35e4d1fce7d /src/map/unit.c
parentc08c02223390b162de6863a56ee7c823339654c4 (diff)
downloadhercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.gz
hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.bz2
hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.xz
hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.zip
HPM: Chat.c Completed
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of chat within calls to shorten wherever it made sense to, and renamed some members to ease reading. Signed-off-by: shennetsind <ind@henn.et>
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 44bb1970c..9d6f107e3 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2128,7 +2128,7 @@ int unit_remove_map(struct block_list *bl, clr_type clrtype, const char* file, i
}
//Leave/reject all invitations.
if(sd->chatID)
- chat->leavechat(sd,0);
+ chat->leave(sd,0);
if(sd->trade_partner)
trade->cancel(sd);
buyingstore->close(sd);