Changeset - r12640:28892ff3883e
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-08-07 20:30:38
smatz@openttd.org
(svn r17105) -Codechange: no need to reset list of industries nearby that often, clearing is enough
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/station.cpp
Show inline comments
 
@@ -287,7 +287,7 @@ static bool FindIndustryToDeliver(TileIn
 
 */
 
void Station::RecomputeIndustriesNear()
 
{
 
	this->industries_near.Reset();
 
	this->industries_near.Clear();
 
	if (this->rect.IsEmpty()) return;
 

	
 
	/* Compute acceptance rectangle */
0 comments (0 inline, 0 general)