equal
deleted
inserted
replaced
1241 } |
1241 } |
1242 |
1242 |
1243 return cost; |
1243 return cost; |
1244 } |
1244 } |
1245 |
1245 |
1246 int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec) |
1246 int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec) |
1247 { |
1247 { |
1248 const Station* st = GetStationByTile(tile); |
1248 const Station* st = GetStationByTile(tile); |
1249 |
1249 |
1250 if (!CheckOwnership(st->owner) || !EnsureNoVehicle(tile)) return CMD_ERROR; |
1250 if (!CheckOwnership(st->owner) || !EnsureNoVehicle(tile)) return CMD_ERROR; |
1251 |
1251 |