summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorSkotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-03 14:36:00 +0000
committerSkotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-03 14:36:00 +0000
commit419927ac9f5ea5b71b21b52728bb56925b797937 (patch)
tree8fe3adcbc09cd2f79f4a30dac35db73eda8c4cda /src/char_sql/char.c
parent9d4765e65ce8dd0eccd1cdd4dbaa346f5a9cd6ba (diff)
downloadhercules-419927ac9f5ea5b71b21b52728bb56925b797937.tar.gz
hercules-419927ac9f5ea5b71b21b52728bb56925b797937.tar.bz2
hercules-419927ac9f5ea5b71b21b52728bb56925b797937.tar.xz
hercules-419927ac9f5ea5b71b21b52728bb56925b797937.zip
- Merged a few minor bugfixes
- Merged in a bunch of the eA renewal support patch. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14368 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 50fff099d..459fc76fc 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1596,6 +1596,10 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
WBUFW(buf,106) = ( p->rename > 0 ) ? 0 : 1;
offset+=2;
#endif
+#if PACKETVER >= 20100721
+ mapindex_getmapname_ext(mapindex_id2name(p->last_point.map), (char*)WBUFP(buf,108));
+ offset += 16;
+#endif
return 106+offset;
}