From 6221d74644922ea4bbba3ed9cd8bbec42398f77b Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 16 May 2009 23:34:14 +0000 Subject: (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) --- src/industry_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/industry_map.h') diff --git a/src/industry_map.h b/src/industry_map.h index abfbfdf4a..4d46e9c97 100644 --- a/src/industry_map.h +++ b/src/industry_map.h @@ -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)); } /** -- cgit v1.2.3-54-g00ecf