mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-29 23:41:38 -06:00
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:
parent
aaf2cf35e6
commit
5d3dd6a472
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user