(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)

This commit is contained in:
planetmaker
2013-01-08 22:46:42 +00:00
parent 89a2ba2a6d
commit c24374f99c
242 changed files with 528 additions and 526 deletions

View File

@@ -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;
}