(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user