mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(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
Block a user