mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 21:33:51 +00:00
(svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :(
This commit is contained in:
parent
1ce965ed5f
commit
ad1c52abf8
@ -315,7 +315,7 @@ StringID GetNetworkErrorMsg(NetworkErrorCode err)
|
||||
|
||||
if (err >= (ptrdiff_t)lengthof(network_error_strings)) err = NETWORK_ERROR_GENERAL;
|
||||
|
||||
return err;
|
||||
return network_error_strings[err];
|
||||
}
|
||||
|
||||
/* Count the number of active clients connected */
|
||||
|
Loading…
Reference in New Issue
Block a user