1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 18:09:09 +00:00

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

This commit is contained in:
smatz
2009-05-31 09:34:40 +00:00
parent ab5a51d462
commit 79d5a41b85

View File

@@ -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;
}
}