summaryrefslogtreecommitdiff
path: root/src/track_func.h
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/track_func.h
parent316e4e94171d8d269b80dd9e329fc1fe610fbfe2 (diff)
downloadopenttd-04f659e768486da4fc73a97a633f140d9733bf78.tar.xz
Fix: Some typos found using codespell
Diffstat (limited to 'src/track_func.h')
-rw-r--r--src/track_func.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/track_func.h b/src/track_func.h
index a55d6d8f2..4171a808b 100644
--- a/src/track_func.h
+++ b/src/track_func.h
@@ -19,7 +19,7 @@
/**
* Iterate through each set Track in a TrackBits value.
- * For more informations see FOR_EACH_SET_BIT_EX.
+ * For more information see FOR_EACH_SET_BIT_EX.
*
* @param var Loop index variable that stores fallowing set track. Must be of type Track.
* @param track_bits The value to iterate through (any expression).
@@ -127,7 +127,7 @@ static inline TrackdirBits TrackdirToTrackdirBits(Trackdir trackdir)
/**
* Removes first Track from TrackBits and returns it
*
- * This function searchs for the first bit in the TrackBits,
+ * This function searches for the first bit in the TrackBits,
* remove this bit from the parameter and returns the found
* bit as Track value. It returns INVALID_TRACK if the
* parameter was TRACK_BIT_NONE or INVALID_TRACK_BIT. This
@@ -647,7 +647,7 @@ static inline bool IsDiagonalTrackdir(Trackdir trackdir)
/**
* Checks if the given tracks overlap, ie form a crossing. Basically this
- * means when there is more than one track on the tile, exept when there are
+ * means when there is more than one track on the tile, except when there are
* two parallel tracks.
* @param bits The tracks present.
* @return Whether the tracks present overlap in any way.