* Fixed usage of literals for map name length in character list packet (since r14368).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14603 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ai4rei
2010-12-18 11:03:16 +00:00
parent 867b706234
commit 1543efa34c
3 changed files with 4 additions and 2 deletions

View File

@@ -1602,7 +1602,7 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
#endif
#if (PACKETVER >= 20100720 && PACKETVER <= 20100727) || PACKETVER >= 20100803
mapindex_getmapname_ext(mapindex_id2name(p->last_point.map), (char*)WBUFP(buf,108));
offset += 16;
offset += MAP_NAME_LENGTH_EXT;
#endif
return 106+offset;
}