From 9a0a76cc32ab47bdf229b0f6957e8edd8d3eccf1 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Mon, 18 Oct 2010 17:47:42 +0000 Subject: (svn r20992) -Fix (r20958): Show either version and minimum compatible version or neither --- src/newgrf_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newgrf_gui.cpp') diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index d97a852ea..7191bbcb4 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -81,11 +81,11 @@ 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 (_settings_client.gui.newgrf_developer_tools && c->version != 0) { + if ((_settings_client.gui.newgrf_developer_tools || _settings_client.gui.newgrf_show_old_versions) && c->version != 0) { SetDParam(0, c->version); y = DrawStringMultiLine(x, right, y, bottom, STR_NEWGRF_SETTINGS_VERSION); } - if (_settings_client.gui.newgrf_show_old_versions && c->min_loadable_version != 0) { + if ((_settings_client.gui.newgrf_developer_tools || _settings_client.gui.newgrf_show_old_versions) && c->min_loadable_version != 0) { SetDParam(0, c->min_loadable_version); y = DrawStringMultiLine(x, right, y, bottom, STR_NEWGRF_SETTINGS_MIN_VERSION); } -- cgit v1.2.3-54-g00ecf