Changeset - r12064:dab8b4af4fd5
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-05-31 09:34:40
smatz@openttd.org
(svn r16476) -Fix (r16475): wrong version of the patch
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/station.cpp
Show inline comments
 
@@ -75,13 +75,13 @@ Station::~Station()
 
		if (a->targetairport == this->index) a->targetairport = INVALID_STATION;
 
	}
 

	
 
	Vehicle *v;
 
	FOR_ALL_VEHICLES(v) {
 
		/* Forget about this station if this station is removed */
 
		if (v->last_station_visited == destination && type == OT_GOTO_STATION) {
 
		if (v->last_station_visited == this->index) {
 
			v->last_station_visited = INVALID_STATION;
 
		}
 
	}
 

	
 
	MarkDirty();
 
	InvalidateWindowData(WC_STATION_LIST, this->owner, 0);
0 comments (0 inline, 0 general)