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 | ad1c52abf86d241c024a29b5e6d1c2f10f072d1f (patch) | |
tree | 3bbd313c6746bf066d2b5cff320127f47a863672 /src/network | |
parent | 1ce965ed5f5b55332f77c81a386d7f647ece8a26 (diff) | |
download | openttd-ad1c52abf86d241c024a29b5e6d1c2f10f072d1f.tar.xz |
(svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :(
Diffstat (limited to 'src/network')
-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 */ |