mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r16916) -Fix (r16909): station acceptance was reset after game load
This commit is contained in:
parent
5f3a097b86
commit
13a7c550ad
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue