summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/station.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 89064f77a..ee000a8e0 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -287,7 +287,7 @@ static bool FindIndustryToDeliver(TileIndex ind_tile, void *user_data)
*/
void Station::RecomputeIndustriesNear()
{
- this->industries_near.Reset();
+ this->industries_near.Clear();
if (this->rect.IsEmpty()) return;
/* Compute acceptance rectangle */