diff options
author | rubidium <rubidium@openttd.org> | 2008-12-29 21:41:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-29 21:41:20 +0000 |
commit | 1892994ab21cdd4e44c450ef1c5bbdcbb647ae36 (patch) | |
tree | 3bbd313c6746bf066d2b5cff320127f47a863672 /src | |
parent | b597e52e29ea5ca1ee756f74ed3ae5f765f0eb54 (diff) | |
download | openttd-1892994ab21cdd4e44c450ef1c5bbdcbb647ae36.tar.xz |
(svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :(
Diffstat (limited to 'src')
-rw-r--r-- | src/network/network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 9b2083efe..c6935638a 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -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 */ |