From 07443969f9d071c1a7b3bc8599e7f638ec77db70 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Mon, 12 Sep 2022 09:49:23 -0600 Subject: [PATCH] Fix ca19a0d: Network hosts also use favorite face --- src/company_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index 83958f037a..229cd8f46e 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -564,8 +564,8 @@ Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY) c->inaugurated_year = _cur_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 (_company_manager_face != 0 && !is_ai && !_networking) { + * In a network game, we'll choose the favorite face later in CmdCompanyCtrl to sync it to all clients, but we choose it here for the first (host) company. */ + if (_company_manager_face != 0 && !is_ai) { c->face = _company_manager_face; } else { RandomCompanyManagerFaceBits(c->face, (GenderEthnicity)Random(), false, false);