From 33288c9d5059fba7aee5eb15eb5c4b60034178c5 Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 7 Aug 2009 20:30:38 +0000 Subject: (svn r17105) -Codechange: no need to reset list of industries nearby that often, clearing is enough --- src/station.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station.cpp') 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 */ -- cgit v1.2.3-54-g00ecf