summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-18 11:03:16 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-18 11:03:16 +0000
commitf53dd3e3e3ae847c0871050464fc25f3f5863101 (patch)
tree6ba22b255a1129804a7b8cf916914e13378fdaad /src/char/char.c
parente724ddf7410dd02e37487921f59bb80828faafc3 (diff)
downloadhercules-f53dd3e3e3ae847c0871050464fc25f3f5863101.tar.gz
hercules-f53dd3e3e3ae847c0871050464fc25f3f5863101.tar.bz2
hercules-f53dd3e3e3ae847c0871050464fc25f3f5863101.tar.xz
hercules-f53dd3e3e3ae847c0871050464fc25f3f5863101.zip
* Fixed usage of literals for map name length in character list packet (since r14368).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14603 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index ad18658ba..c61a84d29 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -1738,7 +1738,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;
}