changeset 12650:e7630c069583 draft

(svn r17105) -Codechange: no need to reset list of industries nearby that often, clearing is enough
author smatz <smatz@openttd.org>
date Fri, 07 Aug 2009 20:30:38 +0000
parents 972cc76db7c0
children e3aac139122f
files src/station.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -287,7 +287,7 @@
  */
 void Station::RecomputeIndustriesNear()
 {
-	this->industries_near.Reset();
+	this->industries_near.Clear();
 	if (this->rect.IsEmpty()) return;
 
 	/* Compute acceptance rectangle */