forked from mirror/OpenTTD
Fix: Network clients incorrectly truncated all strings to NETWORK_COMPANY_NAME_LENGTH. (#13102)
This should no longer be necessary since we used std::strings.
This commit is contained in:
@@ -85,8 +85,6 @@ uint32_t _sync_seed_2; ///< Second part of the seed.
|
||||
uint32_t _sync_frame; ///< The frame to perform the sync check.
|
||||
bool _network_first_time; ///< Whether we have finished joining or not.
|
||||
|
||||
static_assert((int)NETWORK_COMPANY_NAME_LENGTH == MAX_LENGTH_COMPANY_NAME_CHARS * MAX_CHAR_LENGTH);
|
||||
|
||||
/** The amount of clients connected */
|
||||
uint8_t _network_clients_connected = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user