Changeset - r20812:d0f492ae6be5
[Not reviewed]
master
0 1 0
planetmaker - 11 years ago 2013-10-13 11:04:20
planetmaker@openttd.org
(svn r25856) -Codechange: Use Industry::TileBelongsToIndustry in one more place (cirdan, LordAro)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_industries.cpp
Show inline comments
 
@@ -54,7 +54,7 @@ IndustryType MapNewGRFIndustryType(Indus
 
 */
 
uint32 GetIndustryIDAtOffset(TileIndex tile, const Industry *i, uint32 cur_grfid)
 
{
 
	if (!IsTileType(tile, MP_INDUSTRY) || GetIndustryIndex(tile) != i->index) {
 
	if (!i->TileBelongsToIndustry(tile)) {
 
		/* No industry and/or the tile does not have the same industry as the one we match it with */
 
		return 0xFFFF;
 
	}
0 comments (0 inline, 0 general)