From 34ee1c85169b65c7f0b438f5fec3e7b95982e8d7 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 18 Aug 2012 19:29:48 +0000 Subject: 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 --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char') 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 -- cgit v1.2.3-60-g2f50