mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r17105) -Codechange: no need to reset list of industries nearby that often, clearing is enough
This commit is contained in:
parent
3532592e7d
commit
33288c9d50
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue