Changeset - r26387:ac2c9d056573
[Not reviewed]
master
0 1 0
Tyler Trahan - 2 years ago 2022-09-12 15:49:23
tyler@tylertrahan.com
Fix ca19a0d: Network hosts also use favorite face
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/company_cmd.cpp
Show inline comments
 
@@ -564,8 +564,8 @@ Company *DoStartupNewCompany(bool is_ai,
 
	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);
0 comments (0 inline, 0 general)