diff options
author | Gepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-10-17 19:02:45 +0000 |
---|---|---|
committer | Gepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-10-17 19:02:45 +0000 |
commit | 0d0eec49317fff199cfb67b4d4f202d824cf68e6 (patch) | |
tree | 8b4edb5ac10b0030fa28ebe4e9f2d5ebfb434cb0 | |
parent | 54a177a26da4b2934ab3262559112f95bff4cf62 (diff) | |
download | hercules-0d0eec49317fff199cfb67b4d4f202d824cf68e6.tar.gz hercules-0d0eec49317fff199cfb67b4d4f202d824cf68e6.tar.bz2 hercules-0d0eec49317fff199cfb67b4d4f202d824cf68e6.tar.xz hercules-0d0eec49317fff199cfb67b4d4f202d824cf68e6.zip |
Fixed wrong char info packet size for clients after 2010-07-27 (follow-up to r14368).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14432 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/char/char.c | 2 | ||||
-rw-r--r-- | src/char_sql/char.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 7a14afbc8..4396326b2 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -1,5 +1,7 @@ Date Added +2010/10/17 + * Fixed wrong char info packet size for clients after 2010-07-27. (bugreport:4413) [Gepard] 2010/10/13 * Prevented direct transformation into dummy jobs via @jobchange command. (bugreport:4227) [Paradox924X] * Prevented @stpoint and @skpoint from causing overflows. [Paradox924X] diff --git a/src/char/char.c b/src/char/char.c index 5178791b5..b3e219e3e 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1736,7 +1736,7 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p) WBUFW(buf,106) = ( p->rename > 0 ) ? 0 : 1; offset += 2; #endif -#if PACKETVER >= 20100721 +#if PACKETVER >= 20100720 && PACKETVER <= 20100727 mapindex_getmapname_ext(mapindex_id2name(p->last_point.map), (char*)WBUFP(buf,108)); offset += 16; #endif diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 4ddc3df31..b73b8c32a 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1596,7 +1596,7 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p) WBUFW(buf,106) = ( p->rename > 0 ) ? 0 : 1; offset+=2; #endif -#if PACKETVER >= 20100721 +#if PACKETVER >= 20100720 && PACKETVER <= 20100727 mapindex_getmapname_ext(mapindex_id2name(p->last_point.map), (char*)WBUFP(buf,108)); offset += 16; #endif |