Always present login form for MP

Instead of defaulting to the login method last used, always initialize
the login handler to a non-anonymous login. Players who want to play as
anon will have to explicitly check the anonymous box for every login.
This commit is contained in:
Nathan Fulton 2016-06-09 19:31:01 -04:00
parent aaf2cf35e6
commit 5d3dd6a472

View File

@ -25,7 +25,11 @@ void LoginHandler::InitFromGlobals() {
strncpyz(token_, gszToken, sizeof(token_));
strncpyz(password_, gszPassword, sizeof(password_));
strncpyz(username_, gszUsername, sizeof(username_));
#if 1 // Always show non-anonymous login
SetAnonymous(0);
#else
SetAnonymous(gfAnonymous);
#endif
}
void LoginHandler::SaveToGlobals() {