summaryrefslogtreecommitdiff
path: root/src/tilearea_type.h
diff options
context:
space:
mode:
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: