diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-12 00:44:38 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-12 00:44:38 +0000 |
commit | 2ce7aa656df82a7261c94fe14b9abc59ab6e4826 (patch) | |
tree | e1333f9d1a0ee3fb8b81648e3b577a8fa7de8015 /src/char | |
parent | 9d66536843f514671766257c54ad9350923548fe (diff) | |
download | hercules-2ce7aa656df82a7261c94fe14b9abc59ab6e4826.tar.gz hercules-2ce7aa656df82a7261c94fe14b9abc59ab6e4826.tar.bz2 hercules-2ce7aa656df82a7261c94fe14b9abc59ab6e4826.tar.xz hercules-2ce7aa656df82a7261c94fe14b9abc59ab6e4826.zip |
* Updates to dynamic server information `ragsrvinfo` on SQL.
- Fixed exp and drop rates (int) getting truncated (short) when sent to char-server.
- Removed `motd` from `ragsrvinfo` as it is not dynamically changed by the server and as such can be read by 3rd party applications directly from conf/motd.txt if required.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14579 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/char.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c index 91ad7d33d..ad18658ba 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -3053,10 +3053,10 @@ int parse_frommap(int fd) break; case 0x2b16: // Receive rates [Wizputer] - if (RFIFOREST(fd) < 6 || RFIFOREST(fd) < RFIFOW(fd,8)) + if( RFIFOREST(fd) < 14 ) return 0; // Txt doesn't need this packet, so just skip it - RFIFOSKIP(fd,RFIFOW(fd,8)); + RFIFOSKIP(fd,14); break; case 0x2b17: // Character disconnected set online 0 [Wizputer] |