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