summaryrefslogtreecommitdiff
path: root/src/login_sql/login.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-02 17:43:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-02 17:43:30 +0000
commitbdd10b430d4d949d5cdd97295ffb0c9887a7c211 (patch)
tree41f37d83ba99b11a3e017d59b6ef15aa267b9a74 /src/login_sql/login.h
parent1c8b4e651ae7f17b0652e1f352ac5246a883b4a0 (diff)
downloadhercules-bdd10b430d4d949d5cdd97295ffb0c9887a7c211.tar.gz
hercules-bdd10b430d4d949d5cdd97295ffb0c9887a7c211.tar.bz2
hercules-bdd10b430d4d949d5cdd97295ffb0c9887a7c211.tar.xz
hercules-bdd10b430d4d949d5cdd97295ffb0c9887a7c211.zip
- Cleaned up mmo_auth, as this function was quite filled with sql memory leaks! Also improved the code a little.
- Made account_id and char_id ints in login.h (since they are that type in mmo_charstatus) - Corrected/simplified the re-walk code when an object's speed changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10125 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql/login.h')
-rw-r--r--src/login_sql/login.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login_sql/login.h b/src/login_sql/login.h
index c1b9b671d..0115126ef 100644
--- a/src/login_sql/login.h
+++ b/src/login_sql/login.h
@@ -31,10 +31,10 @@ struct mmo_account {
char passwd[NAME_LENGTH];
int passwdenc;
- long account_id;
+ int account_id;
+ int char_id;
long login_id1;
long login_id2;
- long char_id;
char lastlogin[24];
int sex;
int level;