summaryrefslogtreecommitdiff
path: root/src/signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal.cpp')
-rw-r--r--src/signal.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index d991d6233..2d16e9a73 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -52,7 +52,7 @@ template <typename Tdir, uint items>
struct SmallSet {
private:
uint n; // actual number of units
- bool overflowed; // did we try to oveflow the set?
+ bool overflowed; // did we try to overflow the set?
const char *name; // name, used for debugging purposes...
/** Element of set */
@@ -73,7 +73,7 @@ public:
}
/**
- * Returns value of 'oveflowed'
+ * Returns value of 'overflowed'
* @return did we try to overflow the set?
*/
bool Overflowed()
@@ -131,7 +131,7 @@ public:
* Tries to find given tile and dir in the set
* @param tile tile
* @param dir and dir to find
- * @return true iff the tile & dir elemnt was found
+ * @return true iff the tile & dir element was found
*/
bool IsIn(TileIndex tile, Tdir dir)
{
@@ -201,7 +201,7 @@ static Vehicle *TrainOnTileEnum(Vehicle *v, void *)
* The new and reverse direction is removed from _globset, because we are sure
* it doesn't need to be checked again
* Also, remove reverse direction from _tbdset
- * This is the 'core' part so the graph seaching won't enter any tile twice
+ * This is the 'core' part so the graph searching won't enter any tile twice
*
* @param t1 tile we are entering
* @param d1 direction (tile side) we are entering
@@ -227,7 +227,7 @@ static inline bool CheckAddToTodoSet(TileIndex t1, DiagDirection d1, TileIndex t
* The new and reverse direction is removed from Global set, because we are sure
* it doesn't need to be checked again
* Also, remove reverse direction from Todo set
- * This is the 'core' part so the graph seaching won't enter any tile twice
+ * This is the 'core' part so the graph searching won't enter any tile twice
*
* @param t1 tile we are entering
* @param d1 direction (tile side) we are entering