diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1416,6 +1416,7 @@ CommandCost RemoveFromRailBaseStation(Ti DoClearSquare(tile); if (keep_rail) MakeRailNormal(tile, owner, TrackToTrackBits(track), rt); + st->rect.AfterRemoveTile(st, tile); AddTrackToSignalBuffer(tile, track, owner); YapfNotifyTrackLayoutChange(tile, track); @@ -1442,7 +1443,6 @@ CommandCost RemoveFromRailBaseStation(Ti for (T **stp = affected_stations.Begin(); stp != affected_stations.End(); stp++) { T *st = *stp; - st->rect.AfterRemoveRect(st, ta); /* now we need to make the "spanned" area of the railway station smaller * if we deleted something at the edges. * we also need to adjust train_tile. */