From 794453043edb43f3d5d756c9793e704003df85cc Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Sat, 30 Dec 2006 20:28:37 +0000 Subject: - Reverted the packet structure changes to mmo_char_send006b in r9588 and corrected the bug that I was originally fixing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9598 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/char/char.c') diff --git a/src/char/char.c b/src/char/char.c index 16dfe1192..79ae917ba 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1695,8 +1695,7 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) { for(i = 0; i < found_num; i++) { p = &char_dat[sd->found_char[i]].status; #if PACKETVER > 7 - j = offset + (found_num * 2) + (i * 106); // increase speed of code - WFIFOW(fd,offset+(i*2)) = 1; //TODO: Handle this rename bit: 0 to enable renaming + j = offset + (i * 108); // increase speed of code #else j = offset + (i * 106); // increase speed of code #endif @@ -1741,6 +1740,9 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) { 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 + WFIFOW(fd,j+106) = 1; //TODO: Handle this rename bit: 0 to enable renaming +#endif } WFIFOSET(fd,WFIFOW(fd,2)); -- cgit v1.2.3-70-g09d2