diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-10-06 23:40:55 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-10-06 23:43:40 +0200 |
commit | 64a37da4cb8d74a29f369e96e8c3669275516394 (patch) | |
tree | caa0eb0d05ab5674b6b6ac822d151aa2585721e8 /src/net/logindata.h | |
parent | 610dc30ceecdfe538f71826689630e0f28c278cc (diff) | |
download | mana-client-64a37da4cb8d74a29f369e96e8c3669275516394.tar.gz mana-client-64a37da4cb8d74a29f369e96e8c3669275516394.tar.bz2 mana-client-64a37da4cb8d74a29f369e96e8c3669275516394.tar.xz mana-client-64a37da4cb8d74a29f369e96e8c3669275516394.zip |
Some cleanup regarding keeping track of gender for eAthena
LoginHandler now owns the world list and the token, instead of having
them as global variables with pointers to the 'sex' member of the token
from the GUI.
Diffstat (limited to 'src/net/logindata.h')
-rw-r--r-- | src/net/logindata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/logindata.h b/src/net/logindata.h index 9cc3a3eb..4f592f7d 100644 --- a/src/net/logindata.h +++ b/src/net/logindata.h @@ -36,6 +36,8 @@ struct LoginData std::string email; + Gender gender; + bool remember; /**< Whether to store the username. */ bool registerLogin; /**< Whether an account is being registered. */ @@ -45,6 +47,8 @@ struct LoginData password.clear(); newPassword.clear(); updateHost.clear(); + email.clear(); + gender = GENDER_UNSPECIFIED; } }; |