diff options
author | Milchdealer <jocker300@hotmail.de> | 2015-07-15 22:59:56 +0100 |
---|---|---|
committer | Milchdealer <jocker300@hotmail.de> | 2015-07-15 22:59:56 +0100 |
commit | 5ab649f62fba634bb362125ee7c9f0590385d64e (patch) | |
tree | 5f888cbb1be97eb2e8c3413e98a99a65adf891b4 | |
parent | 9a2f6e96f54ed1c3931bc441ed31da51bf785fdb (diff) | |
download | hercules-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
-rw-r--r-- | src/map/intif.c | 2 |
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); } } |