mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 20:34:41 +00:00
(svn r16476) -Fix (r16475): wrong version of the patch
This commit is contained in:
parent
ab5a51d462
commit
79d5a41b85
@ -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…
Reference in New Issue
Block a user