summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2017-04-29 22:55:39 +0800
committerJedzkie <jedzkie13@rocketmail.com>2017-04-29 22:55:39 +0800
commita20d06809f0c2ab15442744fba16ee90e3fb0bec (patch)
treec7ada68cbac32bbf371b1dd17aa11fb79c5b3f75
parente9daf0e172d5441ec6d264b4056db4f7f3e5780a (diff)
downloadhercules-a20d06809f0c2ab15442744fba16ee90e3fb0bec.tar.gz
hercules-a20d06809f0c2ab15442744fba16ee90e3fb0bec.tar.bz2
hercules-a20d06809f0c2ab15442744fba16ee90e3fb0bec.tar.xz
hercules-a20d06809f0c2ab15442744fba16ee90e3fb0bec.zip
Fixes #1721
Signed-off-by: Jedzkie <jedzkie13@rocketmail.com>
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index ca7387474..724b48c03 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5039,7 +5039,7 @@ int pc_useitem(struct map_session_data *sd,int n) {
#if PACKETVER >= 20110309
clif->msgtable(sd, MSG_NPC_WORK_IN_PROGRESS);
#else
- clif->messagecolor_self(fd, COLOR_WHITE, msg_fd(fd, 48));
+ clif->messagecolor_self(sd->fd, COLOR_WHITE, msg_sd(sd, 48));
#endif
return 0;
}