diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-12 14:53:32 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-12 14:58:48 +0200 |
commit | 92a8e0403595cd0f4b8b2084c45ec79edca7e7c1 (patch) | |
tree | d1d4b2b6638935f666c6512b467a6ffc3017fb60 /src/logindata.h | |
parent | 14a6e6a4bc5d39ddf8f31efc07a5e2493a6f6d0a (diff) | |
download | mana-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.gz mana-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.bz2 mana-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.xz mana-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.zip |
Append _F or _M to username in eAthena network layer
Abstracts it away and out of main.cpp and register.cpp.
Diffstat (limited to 'src/logindata.h')
-rw-r--r-- | src/logindata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logindata.h b/src/logindata.h index 8ecba235..4cf989cb 100644 --- a/src/logindata.h +++ b/src/logindata.h @@ -24,7 +24,7 @@ #include <string> -#include <string> +#include "being.h" struct LoginData { @@ -43,7 +43,7 @@ struct LoginData int account_ID; int session_ID1; int session_ID2; - char sex; + Gender sex; #endif bool remember; /**< Whether to store the username and host. */ @@ -66,7 +66,7 @@ struct LoginData account_ID = 0; session_ID1 = 0; session_ID2 = 0; - sex = 0; + sex = GENDER_UNSPECIFIED; #endif } }; |