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
This commit is contained in:
shennetsind 2012-08-18 19:29:48 +00:00
parent fa96330181
commit ec6e2effaf

View File

@ -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