summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/clif.c2
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);