From 5971c8892d819545607ea75edf79996460f71c46 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 19 Jul 2006 14:31:01 +0000 Subject: - Corrected Trim chars to block 'enter', as explained by the Ultra mage. - When the client passes account version 0, the login server will set it to 1 now. - Corrected the HP bar scaling when HP is above Short Max. It should display fine for any HP value now. - Added a check when the mob's adelay is shorter than the amotion, in which case the adelay will be changed to the amotion value. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7742 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/login.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/login') diff --git a/src/login/login.c b/src/login/login.c index b15ab5f1e..70ac933b4 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -3114,6 +3114,7 @@ int parse_login(int fd) { } account.version = RFIFOL(fd, 2); //for exe version check [Sirius] + if (!account.version) account.version = 1; //Force some version... memcpy(account.userid,RFIFOP(fd,6),NAME_LENGTH); account.userid[23] = '\0'; remove_control_chars((unsigned char *)account.userid); -- cgit v1.2.3-70-g09d2