Changeset - r15592:ff970b802fb2
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-07-31 20:04:14
rubidium@openttd.org
(svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_gui.cpp
Show inline comments
 
@@ -78,13 +78,13 @@ static void ShowNewGRFInfo(const GRFConf
 
	/* Prepare and draw GRF ID */
 
	char buff[256];
 
	snprintf(buff, lengthof(buff), "%08X", BSWAP32(c->ident.grfid));
 
	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);
 
	}
 

	
 
	/* Prepare and draw MD5 sum */
 
	md5sumToString(buff, lastof(buff), c->ident.md5sum);
0 comments (0 inline, 0 general)