mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled
This commit is contained in:
parent
3f62ee6355
commit
5f8cfba77a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user