equal
deleted
inserted
replaced
354 } |
354 } |
355 #undef M |
355 #undef M |
356 |
356 |
357 if (!EnsureNoVehicleOnGround(tile)) return CMD_ERROR; |
357 if (!EnsureNoVehicleOnGround(tile)) return CMD_ERROR; |
358 |
358 |
359 if (GetRoadTileType(tile) == ROAD_TILE_NORMAL) { |
359 if (IsNormalRoad(tile)) { |
360 if (HasRoadWorks(tile)) return_cmd_error(STR_ROAD_WORKS_IN_PROGRESS); |
360 if (HasRoadWorks(tile)) return_cmd_error(STR_ROAD_WORKS_IN_PROGRESS); |
361 |
361 |
362 RoadTypes roadtypes = GetRoadTypes(tile); |
362 RoadTypes roadtypes = GetRoadTypes(tile); |
363 RoadBits road = GetRoadBits(tile, ROADTYPE_ROAD); |
363 RoadBits road = GetRoadBits(tile, ROADTYPE_ROAD); |
364 RoadBits tram = GetRoadBits(tile, ROADTYPE_TRAM); |
364 RoadBits tram = GetRoadBits(tile, ROADTYPE_TRAM); |