소스 검색

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
shennetsind 12 년 전
부모
커밋
ec6e2effaf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/char/char.c

+ 1 - 1
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