From ec6e2effaf8c5ed6f9e88b0bf23d9bb92317a293 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 18 Aug 2012 19:29:48 +0000 Subject: [PATCH] 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://svn.code.sf.net/p/rathena/svn/trunk@16666 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/char/char.c b/src/char/char.c index 57ca73678e..e37aacf519 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