summaryrefslogtreecommitdiff
path: root/src/signal.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-01-08 22:46:42 +0000
committerplanetmaker <planetmaker@openttd.org>2013-01-08 22:46:42 +0000
commitc24374f99c22d9420d6d182ff835f07a5b954b48 (patch)
tree7043ad53c941668339a0949867e10888f9e54f16 /src/signal.cpp
parent89a2ba2a6d25e605c391e7343ba66090ee9f26de (diff)
downloadopenttd-c24374f99c22d9420d6d182ff835f07a5b954b48.tar.xz
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
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