diff options
Diffstat (limited to 'src/road.cpp')
-rw-r--r-- | src/road.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/road.cpp b/src/road.cpp index fad4cbce1..c005d56c1 100644 --- a/src/road.cpp +++ b/src/road.cpp @@ -23,7 +23,7 @@ /** * Return if the tile is a valid tile for a crossing. * - * @param tile the curent tile + * @param tile the current tile * @param ax the axis of the road over the rail * @return true if it is a valid tile */ @@ -36,7 +36,7 @@ static bool IsPossibleCrossing(const TileIndex tile, Axis ax) } /** - * Clean up unneccesary RoadBits of a planed tile. + * Clean up unnecessary RoadBits of a planed tile. * @param tile current tile * @param org_rb planed RoadBits * @return optimised RoadBits @@ -56,7 +56,7 @@ RoadBits CleanUpRoadBits(const TileIndex tile, RoadBits org_rb) const RoadBits mirrored_rb = MirrorRoadBits(target_rb); switch (GetTileType(neighbor_tile)) { - /* Allways connective ones */ + /* Always connective ones */ case MP_CLEAR: case MP_TREES: connective = true; break; @@ -83,11 +83,11 @@ RoadBits CleanUpRoadBits(const TileIndex tile, RoadBits org_rb) connective = !IsWater(neighbor_tile); break; - /* The defentetly not connective ones */ + /* The definitely not connective ones */ default: break; } - /* If the neighbor tile is inconnective remove the planed road connection to it */ + /* If the neighbor tile is inconnective, remove the planed road connection to it */ if (!connective) org_rb ^= target_rb; } |