From 83b2e0b3ceda907b7186acfcc56c214fc04d9c13 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 7 Feb 2013 19:38:32 -0800 Subject: Remove some macros --- src/char/char.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/char/char.cpp') diff --git a/src/char/char.cpp b/src/char/char.cpp index a45592d..775ac69 100644 --- a/src/char/char.cpp +++ b/src/char/char.cpp @@ -1852,10 +1852,8 @@ void parse_frommap(int fd) if (auth_fifo[i].account_id == RFIFOL(fd, 2) && auth_fifo[i].char_id == RFIFOL(fd, 6) && auth_fifo[i].login_id1 == RFIFOL(fd, 10) && -#if CMP_AUTHFIFO_LOGIN2 != 0 // here, it's the only area where it's possible that we doesn't know login_id2 (map-server asks just after 0x72 packet, that doesn't given the value) (auth_fifo[i].login_id2 == RFIFOL(fd, 14) || RFIFOL(fd, 14) == 0) && // relate to the versions higher than 18 -#endif (!check_ip_flag || auth_fifo[i].ip == RFIFOL(fd, 18)) && !auth_fifo[i].delflag) { @@ -2477,9 +2475,7 @@ void parse_char(int fd) { if (auth_fifo[i].account_id == sd->account_id && auth_fifo[i].login_id1 == sd->login_id1 && -#if CMP_AUTHFIFO_LOGIN2 != 0 auth_fifo[i].login_id2 == sd->login_id2 && // relate to the versions higher than 18 -#endif (!check_ip_flag || auth_fifo[i].ip == session[fd]->client_addr.sin_addr.s_addr) -- cgit v1.2.3-70-g09d2