diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-04-28 14:19:56 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-04-28 14:19:56 +0000 |
commit | f4538cb0aa956ec56ddcfef5dd47ec02114e3655 (patch) | |
tree | a5ae630fd81fa45a7562e698ba75d8a188dea779 | |
parent | 0bb7c7bfc2312ceb33c062f045c087d17382129d (diff) | |
download | hercules-f4538cb0aa956ec56ddcfef5dd47ec02114e3655.tar.gz hercules-f4538cb0aa956ec56ddcfef5dd47ec02114e3655.tar.bz2 hercules-f4538cb0aa956ec56ddcfef5dd47ec02114e3655.tar.xz hercules-f4538cb0aa956ec56ddcfef5dd47ec02114e3655.zip |
* Fixed formatted broadcast messages not working with 2010-11-24aRagexeRE and later (bugreport:4872, since r14120).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14803 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/clif.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 612fe2300..1b31ff028 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -1,5 +1,7 @@ Date Added +2011/04/28 + * Fixed formatted broadcast messages not working with 2010-11-24aRagexeRE and later (bugreport:4872, since r14120). [Ai4rei] 2011/04/27 * Fixed description for script command 'itemheal' claiming, that this command is responsible for potion visual effects which it is not (item-use causes the client to display these) (since r2397). [Ai4rei] 2011/04/21 diff --git a/src/map/clif.c b/src/map/clif.c index 0ef00507b..6e34a70a4 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -5004,17 +5004,12 @@ void clif_MainChatMessage(const char* message) /*========================================== * Send broadcast message with font formatting. * S 01C3 <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <message>.?B - * S 040C <len>.W <fontColor>.L <fontType>.W <fontSize>.W <fontAlign>.W <fontY>.W <message>.?B *------------------------------------------*/ int clif_broadcast2(struct block_list* bl, const char* mes, int len, unsigned long fontColor, short fontType, short fontSize, short fontAlign, short fontY, enum send_target target) { unsigned char *buf = (unsigned char*)aMallocA((16 + len)*sizeof(unsigned char)); -#if PACKETVER < 20080820 WBUFW(buf,0) = 0x1c3; -#else - WBUFW(buf,0) = 0x40c; -#endif WBUFW(buf,2) = len + 16; WBUFL(buf,4) = fontColor; WBUFW(buf,8) = fontType; |