File diff r7657:0608e862fd36 → r7658:dc7d1afc14ba
src/newgrf_industries.cpp
Show inline comments
 
@@ -439,7 +439,9 @@ bool CheckIfCallBackAllowsCreation(TileI
 

	
 
	group = Resolve(GetIndustrySpec(type)->grf_prop.spritegroup, &object);
 

	
 
	if (group == NULL || group->type != SGT_CALLBACK) return false;
 
	/* Unlike the "normal" cases, not having a valid result means we allow
 
	 * the building of the industry, as that's how it's done in TTDP. */
 
	if (group == NULL || group->type != SGT_CALLBACK) return true;
 

	
 
	switch (group->g.callback.result) {
 
		case 0x400: return true;