diff options
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r-- | src/network/network.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 14453d70f..41af3d1df 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -315,8 +315,13 @@ StringID GetNetworkErrorMsg(NetworkErrorCode err) STR_NETWORK_ERROR_CLIENT_KICKED, STR_NETWORK_ERROR_CLIENT_CHEATER, STR_NETWORK_ERROR_CLIENT_SERVER_FULL, - STR_NETWORK_ERROR_CLIENT_TOO_MANY_COMMANDS + STR_NETWORK_ERROR_CLIENT_TOO_MANY_COMMANDS, + STR_NETWORK_ERROR_CLIENT_TIMEOUT_PASSWORD, + STR_NETWORK_ERROR_CLIENT_TIMEOUT_COMPUTER, + STR_NETWORK_ERROR_CLIENT_TIMEOUT_MAP, + STR_NETWORK_ERROR_CLIENT_TIMEOUT_JOIN, }; + assert_compile(lengthof(network_error_strings) == NETWORK_ERROR_END); if (err >= (ptrdiff_t)lengthof(network_error_strings)) err = NETWORK_ERROR_GENERAL; |