File diff r26089:2283e9229bb0 → r26090:5a592dbf1c28
src/company_cmd.cpp
Show inline comments
 
@@ -1124,13 +1124,13 @@ CommandCost CmdRenamePresident(TileIndex
 
		if (reset) {
 
			c->president_name.clear();
 
		} else {
 
			c->president_name = text;
 

	
 
			if (c->name_1 == STR_SV_UNNAMED && c->name.empty()) {
 
				DoCommand(0, 0, 0, DC_EXEC, CMD_RENAME_COMPANY, text + " Transport");
 
				DoCommand(DC_EXEC, CMD_RENAME_COMPANY, 0, 0, 0, text + " Transport");
 
			}
 
		}
 

	
 
		MarkWholeScreenDirty();
 
		CompanyAdminUpdate(c);
 
	}