* 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user