diff options
author | smatz <smatz@openttd.org> | 2010-02-24 14:46:15 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-02-24 14:46:15 +0000 |
commit | f051066bc451479a0c2ff44e2554941628a62f6a (patch) | |
tree | 239197109c12b15a24e9ae8ab70a7549e34d4a8b /src/network/network_content_gui.cpp | |
parent | c1e2bc90cd3751dfa316519cfe2f558aa2697b2c (diff) | |
download | openttd-f051066bc451479a0c2ff44e2554941628a62f6a.tar.xz |
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
Diffstat (limited to 'src/network/network_content_gui.cpp')
-rw-r--r-- | src/network/network_content_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index bb77aea6d..a25a5ad4a 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -742,7 +742,7 @@ public: virtual void OnConnect(bool success) { if (!success) { - ShowErrorMessage(STR_CONTENT_ERROR_COULD_NOT_CONNECT, INVALID_STRING_ID, 0, 0); + ShowErrorMessage(STR_CONTENT_ERROR_COULD_NOT_CONNECT, INVALID_STRING_ID, WL_ERROR); delete this; return; } @@ -886,7 +886,7 @@ void ShowNetworkContentListWindow(ContentVector *cv, ContentType type) DeleteWindowById(WC_NETWORK_WINDOW, 1); new NetworkContentListWindow(&_network_content_list_desc, cv != NULL); #else - ShowErrorMessage(STR_CONTENT_NO_ZLIB, STR_CONTENT_NO_ZLIB_SUB, 0, 0); + ShowErrorMessage(STR_CONTENT_NO_ZLIB, STR_CONTENT_NO_ZLIB_SUB, WL_ERROR); /* Connection failed... clean up the mess */ if (cv != NULL) { for (ContentIterator iter = cv->Begin(); iter != cv->End(); iter++) delete *iter; |