diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-02 08:27:06 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-14 23:22:04 +0200 |
commit | 98283116fac58053ebd282772b0311a0b417cef7 (patch) | |
tree | 304ecdf4925f2d7e5bd49eb7906563df0564a45a /src/network/network_type.h | |
parent | 1da0ba95b2ca102b49a816b46ba7999ddc6a2858 (diff) | |
download | openttd-98283116fac58053ebd282772b0311a0b417cef7.tar.xz |
Codechange: [Network] Make company state password std::string
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r-- | src/network/network_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h index 4dcdd8c03..fb9953695 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.h @@ -62,8 +62,8 @@ struct NetworkCompanyStats { /** Some state information of a company, especially for servers */ struct NetworkCompanyState { - char password[NETWORK_PASSWORD_LENGTH]; ///< The password for the company - uint16 months_empty; ///< How many months the company is empty + std::string password; ///< The password for the company + uint16 months_empty; ///< How many months the company is empty }; struct NetworkClientInfo; |