(svn r17105) -Codechange: no need to reset list of industries nearby that often, clearing is enough

pull/155/head
smatz 15 years ago
parent fb24991366
commit 3bcc0dacf8

@ -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…
Cancel
Save