(svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled

This commit is contained in:
rubidium 2010-07-31 20:04:14 +00:00
parent 3f62ee6355
commit 5f8cfba77a

View File

@ -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);
}