Changeset - r17665:d934f37e21d7
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-05-13 20:07:57
rubidium@openttd.org
(svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/screenshot.cpp
Show inline comments
 
@@ -281,7 +281,7 @@ static bool MakePNGImage(const char *nam
 
	char *p = buf;
 
	p += seprintf(p, lastof(buf), "Graphics set: %s (%u)\n", BaseGraphics::GetUsedSet()->name, BaseGraphics::GetUsedSet()->version);
 
	p = strecpy(p, "NewGRFs:\n", lastof(buf));
 
	for (const GRFConfig *c = _grfconfig; c != NULL; c = c->next) {
 
	for (const GRFConfig *c = _game_mode == GM_MENU ? NULL : _grfconfig; c != NULL; c = c->next) {
 
		p += seprintf(p, lastof(buf), "%08X ", BSWAP32(c->ident.grfid));
 
		p = md5sumToString(p, lastof(buf), c->ident.md5sum);
 
		p += seprintf(p, lastof(buf), " %s\n", c->filename);
0 comments (0 inline, 0 general)