summaryrefslogtreecommitdiff
path: root/src/network/network_type.h
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-05-02 08:27:06 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-14 23:22:04 +0200
commit98283116fac58053ebd282772b0311a0b417cef7 (patch)
tree304ecdf4925f2d7e5bd49eb7906563df0564a45a /src/network/network_type.h
parent1da0ba95b2ca102b49a816b46ba7999ddc6a2858 (diff)
downloadopenttd-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.h4
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;