equal
deleted
inserted
replaced
1063 } |
1063 } |
1064 |
1064 |
1065 return cost; |
1065 return cost; |
1066 } |
1066 } |
1067 |
1067 |
|
1068 static bool TileBelongsToRailStation(const Station *st, TileIndex tile) |
|
1069 { |
|
1070 return IsTileType(tile, MP_STATION) && _m[tile].m2 == st->index && _m[tile].m5 < 8; |
|
1071 } |
|
1072 |
1068 static void MakeRailwayStationAreaSmaller(Station *st) |
1073 static void MakeRailwayStationAreaSmaller(Station *st) |
1069 { |
1074 { |
1070 uint w = st->trainst_w; |
1075 uint w = st->trainst_w; |
1071 uint h = st->trainst_h; |
1076 uint h = st->trainst_h; |
1072 TileIndex tile = st->train_tile; |
1077 TileIndex tile = st->train_tile; |