diff options
author | smatz <smatz@openttd.org> | 2009-07-22 15:10:58 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-07-22 15:10:58 +0000 |
commit | 13a7c550ad86f94bdf0dca83cd402cfd1ca6e8ba (patch) | |
tree | ba2fde1a132529e476ac7a13d187f40ed8f7600e | |
parent | 5f3a097b8605b26b370266cbf03f94ea838d2fb0 (diff) | |
download | openttd-13a7c550ad86f94bdf0dca83cd402cfd1ca6e8ba.tar.xz |
(svn r16916) -Fix (r16909): station acceptance was reset after game load
-rw-r--r-- | src/saveload/afterload.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index b69ca6e2d..d09af136b 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -608,6 +608,9 @@ bool AfterLoadGame() Station *st = Station::GetByTile(t); if (st == NULL) break; + /* Set up station spread; waypoints do not have one */ + st->rect.BeforeAddTile(t, StationRect::ADD_FORCE); + switch (GetStationType(t)) { case STATION_TRUCK: case STATION_BUS: |