Changeset - r22516:ed10ea44b974
[Not reviewed]
master
0 1 0
frosch - 7 years ago 2017-01-07 21:22:26
frosch@openttd.org
(svn r27723) -Codechange: Simplify tests by using GCF_SYSTEM.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/newgrf_config.cpp
Show inline comments
 
@@ -420,8 +420,8 @@ bool FillGRFDetails(GRFConfig *config, b
 
	config->SetSuitablePalette();
 
	config->FinalizeParameterInfo();
 

	
 
	/* Skip if the grfid is 0 (not read) or 0xFFFFFFFF (ttdp system grf) */
 
	if (config->ident.grfid == 0 || config->ident.grfid == 0xFFFFFFFF || config->IsOpenTTDBaseGRF()) return false;
 
	/* Skip if the grfid is 0 (not read) or if it is an internal GRF */
 
	if (config->ident.grfid == 0 || HasBit(config->flags, GCF_SYSTEM)) return false;
 

	
 
	if (is_static) {
 
		/* Perform a 'safety scan' for static GRFs */
0 comments (0 inline, 0 general)