diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-07-20 03:38:47 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-07-20 03:38:47 +0000 |
commit | 0a4feb1f7d662faeefd1072d39530c2f610a3a1a (patch) | |
tree | b2a82245d6672ca1261efc076caf052bc62f726c /src/login_sql | |
parent | 0f4b1a36a2552e62227ee1350e8034a8f122c028 (diff) | |
download | hercules-0a4feb1f7d662faeefd1072d39530c2f610a3a1a.tar.gz hercules-0a4feb1f7d662faeefd1072d39530c2f610a3a1a.tar.bz2 hercules-0a4feb1f7d662faeefd1072d39530c2f610a3a1a.tar.xz hercules-0a4feb1f7d662faeefd1072d39530c2f610a3a1a.zip |
* Corrected packet_db.txt. See topic:158382 for details. As a side-effect, the latest packet version is now 22 instead of 21.
* Added a charserver config option for the character renaming flag, along with a detailed comment on what it's supposed to be. This eliminates all that "change PACKETVER to 8 and recompile" mess.
* Moved PACKETVER back to clif.h, cleaned the related code a bit.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10888 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-rw-r--r-- | src/login_sql/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index d593ce6ca..c8c9496ec 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -782,7 +782,7 @@ int parse_fromchar(int fd) for(i = 0; i < AUTH_FIFO_SIZE; i++) { if( auth_fifo[i].account_id == account_id && auth_fifo[i].login_id1 == RFIFOL(fd,6) && - auth_fifo[i].login_id2 == RFIFOL(fd,10) && // relate to the versions higher than 18 + auth_fifo[i].login_id2 == RFIFOL(fd,10) && auth_fifo[i].sex == RFIFOB(fd,14) && auth_fifo[i].ip == ntohl(RFIFOL(fd,15)) && !auth_fifo[i].delflag) |