diff options
author | rubidium <rubidium@openttd.org> | 2010-07-31 20:04:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-07-31 20:04:14 +0000 |
commit | 5f8cfba77a075a4f8647b64123fc0e61308950d6 (patch) | |
tree | 742026347b6e312bb54bec70464ffc2932e7aade | |
parent | 3f62ee635595998ad5d9d57cb5d986d6ac645c4b (diff) | |
download | openttd-5f8cfba77a075a4f8647b64123fc0e61308950d6.tar.xz |
(svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |