(svn r11811) -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area').
This commit is contained in:
@@ -696,12 +696,14 @@ static void MakeNewGameDone()
|
||||
SettingsDisableElrail(_patches.disable_elrails);
|
||||
SetDefaultRailGui();
|
||||
|
||||
#ifdef ENABLE_NETWORK
|
||||
/* We are the server, we start a new player (not dedicated),
|
||||
* so set the default password *if* needed. */
|
||||
if (_network_server && !StrEmpty(_network_default_company_pass)) {
|
||||
char *password = _network_default_company_pass;
|
||||
NetworkChangeCompanyPassword(1, &password);
|
||||
}
|
||||
#endif /* ENABLE_NETWORK */
|
||||
|
||||
MarkWholeScreenDirty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user