From ad1c52abf86d241c024a29b5e6d1c2f10f072d1f Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 29 Dec 2008 21:41:20 +0000 Subject: (svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :( --- src/network/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3-70-g09d2