summaryrefslogtreecommitdiff
path: root/src/tilearea_type.h
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/tilearea_type.h
parent89a2ba2a6d25e605c391e7343ba66090ee9f26de (diff)
downloadopenttd-c24374f99c22d9420d6d182ff835f07a5b954b48.tar.xz
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
Diffstat (limited to 'src/tilearea_type.h')
-rw-r--r--src/tilearea_type.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tilearea_type.h b/src/tilearea_type.h
index 4596514dd..62d3d75df 100644
--- a/src/tilearea_type.h
+++ b/src/tilearea_type.h
@@ -91,7 +91,7 @@ public:
}
/**
- * Move ourselves to the next tile in the rectange on the map.
+ * Move ourselves to the next tile in the rectangle on the map.
*/
virtual TileIterator& operator ++() = 0;
@@ -118,7 +118,7 @@ public:
}
/**
- * Move ourselves to the next tile in the rectange on the map.
+ * Move ourselves to the next tile in the rectangle on the map.
*/
inline TileIterator& operator ++()
{
@@ -148,7 +148,7 @@ private:
uint base_y; ///< The base tile y coordinate from where the iterating happens.
int a_cur; ///< The current (rotated) x coordinate of the iteration.
int b_cur; ///< The current (rotated) y coordinate of the iteration.
- int a_max; ///< The (rotated) x coordinats of the end of the iteration.
+ int a_max; ///< The (rotated) x coordinate of the end of the iteration.
int b_max; ///< The (rotated) y coordinate of the end of the iteration.
public: