From 5f8cfba77a075a4f8647b64123fc0e61308950d6 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 31 Jul 2010 20:04:14 +0000 Subject: (svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled --- src/newgrf_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 53f9f1650..2b94aad0e 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -81,7 +81,7 @@ static void ShowNewGRFInfo(const GRFConfig *c, uint x, uint y, uint right, uint SetDParamStr(0, buff); y = DrawStringMultiLine(x, right, y, bottom, STR_NEWGRF_SETTINGS_GRF_ID); - if (c->version != 0) { + if (_settings_client.gui.newgrf_developer_tools && c->version != 0) { SetDParam(0, c->version); y = DrawStringMultiLine(x, right, y, bottom, STR_NEWGRF_SETTINGS_VERSION); } -- cgit v1.2.3-54-g00ecf