summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorMilchdealer <jocker300@hotmail.de>2015-07-15 22:59:56 +0100
committerMilchdealer <jocker300@hotmail.de>2015-07-15 22:59:56 +0100
commit5ab649f62fba634bb362125ee7c9f0590385d64e (patch)
tree5f888cbb1be97eb2e8c3413e98a99a65adf891b4 /src/map/intif.c
parent9a2f6e96f54ed1c3931bc441ed31da51bf785fdb (diff)
downloadhercules-5ab649f62fba634bb362125ee7c9f0590385d64e.tar.gz
hercules-5ab649f62fba634bb362125ee7c9f0590385d64e.tar.bz2
hercules-5ab649f62fba634bb362125ee7c9f0590385d64e.tar.xz
hercules-5ab649f62fba634bb362125ee7c9f0590385d64e.zip
Changed clif->message with clif->messagecolor_self as this will not crash on sepcial symbols
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index 6c40d5109..26fd1949c 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -2152,7 +2152,7 @@ void intif_parse_MessageToFD(int fd) {
if( sd && sd->bl.id == aid ) {
char msg[512];
safestrncpy(msg, (char*)RFIFOP(fd,12), RFIFOW(fd,2) - 12);
- clif->message(u_fd,msg);
+ clif->messagecolor_self(u_fd, COLOR_DEFAULT ,msg);
}
}