summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-18 19:29:48 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-18 19:29:48 +0000
commit34ee1c85169b65c7f0b438f5fec3e7b95982e8d7 (patch)
tree93dbe7ef5885390744d80445f97d100564ea3d9f /src
parent3a0ca183a4a2f15da002e90f419d385c7ae0a329 (diff)
downloadhercules-34ee1c85169b65c7f0b438f5fec3e7b95982e8d7.tar.gz
hercules-34ee1c85169b65c7f0b438f5fec3e7b95982e8d7.tar.bz2
hercules-34ee1c85169b65c7f0b438f5fec3e7b95982e8d7.tar.xz
hercules-34ee1c85169b65c7f0b438f5fec3e7b95982e8d7.zip
Fixed bugreport:6496 character selection screen rename function fixed for clients 20111025 and newer (right click the character with the add-ons sidebar and select the first option to rename)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16666 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 57ca73678..e37aacf51 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -1820,7 +1820,7 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
offset += 4;
#endif
#if PACKETVER >= 20111025
- WBUFL(buf,136) = 0; // unknown purpose (0 = disabled, otherwise displays "Add-Ons" sidebar)
+ WBUFL(buf,136) = ( p->rename > 0 ) ? 1 : 0; // (0 = disabled, otherwise displays "Add-Ons" sidebar)
offset += 4;
#endif
#endif