diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-12 22:03:55 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-12 22:03:55 +0000 |
commit | 95c694908ba1c7636e28f93f181e23927c5f8c5f (patch) | |
tree | 967a55440af012af201677330b53c8d26c51a1ca | |
parent | 04866a6fc13775319e7af9bfa1af592742a08d07 (diff) | |
download | hercules-95c694908ba1c7636e28f93f181e23927c5f8c5f.tar.gz hercules-95c694908ba1c7636e28f93f181e23927c5f8c5f.tar.bz2 hercules-95c694908ba1c7636e28f93f181e23927c5f8c5f.tar.xz hercules-95c694908ba1c7636e28f93f181e23927c5f8c5f.zip |
Fixed clif_parse_GMmessage cutting off messages randomly (typo in r9778)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9856 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/clif.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index b59740bab..70e09b5db 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2007/02/12 + * Fixed clif_parse_GMmessage cutting off messages randomly [ultramage] + (due to a typo in revision r9778) * Fixed Wand of Hermod * Corrected Spider Web casting around caster instead of target's position. * Corrected a possible crash during login due to checking for the incorrect diff --git a/src/map/clif.c b/src/map/clif.c index 2645b55bb..fdd548913 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9126,7 +9126,7 @@ void clif_parse_GMmessage(int fd, struct map_session_data *sd) { if (pc_isGM(sd) < (lv=get_atcommand_level(AtCommand_Broadcast))) return; - size = WFIFOW(fd,2)-4; + size = RFIFOW(fd,2)-4; mes = RFIFOP(fd,4); mes_len_check(mes, size, CHAT_SIZE); |