From 64a37da4cb8d74a29f369e96e8c3669275516394 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Tue, 6 Oct 2009 23:40:55 +0200 Subject: 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. --- src/net/logindata.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/logindata.h') 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; } }; -- cgit v1.2.3-70-g09d2