diff options
Diffstat (limited to 'src/script/api/script_industry.cpp')
-rw-r--r-- | src/script/api/script_industry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_industry.cpp b/src/script/api/script_industry.cpp index c536ec559..b9025307b 100644 --- a/src/script/api/script_industry.cpp +++ b/src/script/api/script_industry.cpp @@ -134,7 +134,7 @@ Industry *ind = ::Industry::Get(industry_id); StationList stations; ::FindStationsAroundTiles(ind->location, &stations); - return (int32)stations.Length(); + return (int32)stations.size(); } /* static */ int32 ScriptIndustry::GetDistanceManhattanToTile(IndustryID industry_id, TileIndex tile) |