forked from mirror/OpenTTD
(svn r16476) -Fix (r16475): wrong version of the patch
This commit is contained in:
@@ -78,7 +78,7 @@ Station::~Station()
|
|||||||
Vehicle *v;
|
Vehicle *v;
|
||||||
FOR_ALL_VEHICLES(v) {
|
FOR_ALL_VEHICLES(v) {
|
||||||
/* Forget about this station if this station is removed */
|
/* 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;
|
v->last_station_visited = INVALID_STATION;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user