|
@@ -1769,10 +1769,12 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) {
|
|
|
WFIFOB(fd,j+101) = (p->int_ > UCHAR_MAX) ? UCHAR_MAX : p->int_;
|
|
|
WFIFOB(fd,j+102) = (p->dex > UCHAR_MAX) ? UCHAR_MAX : p->dex;
|
|
|
WFIFOB(fd,j+103) = (p->luk > UCHAR_MAX) ? UCHAR_MAX : p->luk;
|
|
|
- WFIFOW(fd,j+104) = p->char_num;
|
|
|
#if PACKETVER > 7
|
|
|
//Updated packet structure with rename-button included. Credits to Sara-chan
|
|
|
+ WFIFOW(fd,j+104) = p->char_num;
|
|
|
WFIFOW(fd,j+106) = 1; //TODO: Handle this rename bit: 0 to enable renaming
|
|
|
+#else
|
|
|
+ WFIFOB(fd,j+104) = p->char_num;
|
|
|
#endif
|
|
|
}
|
|
|
WFIFOSET(fd,WFIFOW(fd,2));
|