(svn r16476) -Fix (r16475): wrong version of the patch

pull/155/head
smatz 15 years ago
parent 7cd7be48c3
commit b12ba4b751

@ -78,7 +78,7 @@ Station::~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;
}
}

Loading…
Cancel
Save