diff options
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/char/char.c b/src/char/char.c index ce84dd0aa..dd229999d 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1665,11 +1665,8 @@ int count_users(void) { int mmo_char_send006b(int fd, struct char_session_data *sd) { int i, j, found_num; struct mmo_charstatus *p; -//#ifdef NEW_006b const int offset = 24; -//#else -// const int offset = 4; -//#endif + WFIFOHEAD(fd, offset + 9*108); set_char_online(-1, 99,sd->account_id); @@ -1687,11 +1684,9 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) { #if PACKETVER > 7 //Updated packet structure with rename-button included. Credits to Sara-chan - WFIFOHEAD(fd, offset + found_num * 108); memset(WFIFOP(fd,0), 0, offset + found_num * 108); WFIFOW(fd,2) = offset + found_num * 108; #else - WFIFOHEAD(fd, offset + found_num * 106); memset(WFIFOP(fd,0), 0, offset + found_num * 106); WFIFOW(fd,2) = offset + found_num * 106; #endif |