diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/clif.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index b010909fa..d0bebeefe 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,8 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2010/06/20 + * Fixed codepage indicators being included in NPCs' whispervars. [Gepard] 2010/06/18 * Added support for NPC/PC names in 'emotion' script command. [Gepard] 2010/06/14 diff --git a/src/map/clif.c b/src/map/clif.c index 9ec2f9cfb..bd7af7eb3 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9031,6 +9031,9 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd) char output[256]; str = message; + // skip codepage indicator, if detected + if( str[0] == '|' && strlen(str) >= 4 ) + str += 3; for( i = 0; i < 10; ++i ) {// Splits the message using '#' as separators split = strchr(str,'#'); |