Fixed wrong char info packet size for clients after 2010-07-27 (follow-up to r14368).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14432 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Gepard 2010-10-17 19:02:45 +00:00
parent cc758e9c60
commit 99d0eef42f
3 changed files with 4 additions and 2 deletions

View File

@ -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]

View File

@ -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

View File

@ -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