(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
This commit is contained in:
@@ -70,7 +70,7 @@ static inline IndustryID GetIndustryIndex(TileIndex t)
|
||||
*/
|
||||
static inline Industry *GetIndustryByTile(TileIndex t)
|
||||
{
|
||||
return GetIndustry(GetIndustryIndex(t));
|
||||
return Industry::Get(GetIndustryIndex(t));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user