mirror of
https://github.com/OpenTTD/OpenTTD
synced 2025-12-10 06:52:05 +01:00
Codechange: Replace favorite with favourite.
This commit is contained in:
committed by
Peter Nelson
parent
30955da3ce
commit
73660bfaf2
@@ -623,8 +623,8 @@ Company *DoStartupNewCompany(bool is_ai, CompanyID company = CompanyID::Invalid(
|
||||
c->inaugurated_year = TimerGameEconomy::year;
|
||||
c->inaugurated_year_calendar = TimerGameCalendar::year;
|
||||
|
||||
/* If starting a player company in singleplayer and a favorite company manager face is selected, choose it. Otherwise, use a random face.
|
||||
* In a network game, we'll choose the favorite face later in CmdCompanyCtrl to sync it to all clients. */
|
||||
/* If starting a player company in singleplayer and a favourite company manager face is selected, choose it. Otherwise, use a random face.
|
||||
* In a network game, we'll choose the favourite face later in CmdCompanyCtrl to sync it to all clients. */
|
||||
bool randomise_face = true;
|
||||
if (!_company_manager_face.empty() && !is_ai && !_networking) {
|
||||
auto cmf = ParseCompanyManagerFaceCode(_company_manager_face);
|
||||
@@ -917,7 +917,7 @@ CommandCost CmdCompanyCtrl(DoCommandFlags flags, CompanyCtrlAction cca, CompanyI
|
||||
SetLocalCompany(c->index);
|
||||
|
||||
/*
|
||||
* If a favorite company manager face is selected, choose it. Otherwise, use a random face.
|
||||
* If a favourite company manager face is selected, choose it. Otherwise, use a random face.
|
||||
* Because this needs to be synchronised over the network, only the client knows
|
||||
* its configuration and we are currently in the execution of a command, we have
|
||||
* to circumvent the normal ::Post logic for commands and just send the command.
|
||||
|
||||
Reference in New Issue
Block a user