diff options
author | Paradox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-02 04:46:03 +0000 |
---|---|---|
committer | Paradox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-02 04:46:03 +0000 |
commit | a039449e095cef05c239a2989eac8d6c6ee32989 (patch) | |
tree | a38f5764ba864f5db5d3f504555b4df50fb01e54 /src | |
parent | 316149bbce039a6f046ed36bdd2838270ca4946e (diff) | |
download | hercules-a039449e095cef05c239a2989eac8d6c6ee32989.tar.gz hercules-a039449e095cef05c239a2989eac8d6c6ee32989.tar.bz2 hercules-a039449e095cef05c239a2989eac8d6c6ee32989.tar.xz hercules-a039449e095cef05c239a2989eac8d6c6ee32989.zip |
Applied fix by Ai4rei to reintroduce mapName within charinfo packet when PACKETVER >= 20100803. Follow-up to r14432. (bugreport:4413)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14440 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/char/char.c | 2 | ||||
-rw-r--r-- | src/char_sql/char.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c index b3e219e3e..98a213316 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 >= 20100720 && PACKETVER <= 20100727 +#if (PACKETVER >= 20100720 && PACKETVER <= 20100727) || PACKETVER >= 20100803 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 b73b8c32a..df3ea7fd6 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 >= 20100720 && PACKETVER <= 20100727 +#if (PACKETVER >= 20100720 && PACKETVER <= 20100727) || PACKETVER >= 20100803 mapindex_getmapname_ext(mapindex_id2name(p->last_point.map), (char*)WBUFP(buf,108)); offset += 16; #endif |