summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-17 19:02:45 +0000
committerGepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-17 19:02:45 +0000
commit58af42c90362773b246dddbabb8bcb1d6580d705 (patch)
treee72edabecb0ffb57ce0a650a1d4d56ead180be03 /src
parent9ec26633e9aee812ee63c28f3a55b3ed438dcf19 (diff)
downloadhercules-58af42c90362773b246dddbabb8bcb1d6580d705.tar.gz
hercules-58af42c90362773b246dddbabb8bcb1d6580d705.tar.bz2
hercules-58af42c90362773b246dddbabb8bcb1d6580d705.tar.xz
hercules-58af42c90362773b246dddbabb8bcb1d6580d705.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/branches/renewal@14432 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c2
-rw-r--r--src/char_sql/char.c2
2 files changed, 2 insertions, 2 deletions
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