diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-11-07 20:50:03 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-11-07 20:50:03 +0000 |
commit | f6fd21e8e668860086b41aec7a939bd7b027f162 (patch) | |
tree | 14e6e655c5df0e20f0d1f6a24d198e64e2f0685a /src/station_cmd.cpp | |
parent | fbceb10ff51e73fe8096a171c43cc98f20f56fc8 (diff) | |
download | openttd-f6fd21e8e668860086b41aec7a939bd7b027f162.tar.xz |
(svn r25948) -Fix [FS#5796]: Make sure LinkRefresher doesn't delete the LinkGraph DeleteStaleLinks() is examining.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 004202c5b..6ed0fbf94 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3447,7 +3447,7 @@ void DeleteStaleLinks(Station *from) * - We could try to figure out if we've seen a consist with the same cargo on the * same list already and if the consist can actually carry the cargo we're looking * for. With conditional and refit orders this is not quite trivial, though. */ - LinkRefresher::Run(v); + LinkRefresher::Run(v, false); // Don't allow merging. Otherwise lg might get deleted. if (edge.LastUpdate() == _date) updated = true; } if (updated) break; |