summaryrefslogtreecommitdiff
path: root/src/road.cpp
diff options
context:
space:
mode:
authorJMcKiern <jmckiern@tcd.ie>2019-09-29 21:27:32 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-09-29 21:27:32 +0100
commit04f659e768486da4fc73a97a633f140d9733bf78 (patch)
tree7d1ecef7d6a39891d2485ae8a0ef8f12673d2b93 /src/road.cpp
parent316e4e94171d8d269b80dd9e329fc1fe610fbfe2 (diff)
downloadopenttd-04f659e768486da4fc73a97a633f140d9733bf78.tar.xz
Fix: Some typos found using codespell
Diffstat (limited to 'src/road.cpp')
-rw-r--r--src/road.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/road.cpp b/src/road.cpp
index 8c9591ff1..d76d6901c 100644
--- a/src/road.cpp
+++ b/src/road.cpp
@@ -41,9 +41,9 @@ static bool IsPossibleCrossing(const TileIndex tile, Axis ax)
}
/**
- * Clean up unnecessary RoadBits of a planed tile.
+ * Clean up unnecessary RoadBits of a planned tile.
* @param tile current tile
- * @param org_rb planed RoadBits
+ * @param org_rb planned RoadBits
* @return optimised RoadBits
*/
RoadBits CleanUpRoadBits(const TileIndex tile, RoadBits org_rb)
@@ -96,7 +96,7 @@ RoadBits CleanUpRoadBits(const TileIndex tile, RoadBits org_rb)
}
}
- /* If the neighbor tile is inconnective, remove the planed road connection to it */
+ /* If the neighbor tile is inconnective, remove the planned road connection to it */
if (!connective) org_rb ^= target_rb;
}
}