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:
2024-11-19 23:44:54 +00:00
committed by GitHub
parent 85e9f5745a
commit 9b6b6d50c3
3 changed files with 1 additions and 4 deletions

View File

@@ -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;