summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-07-30 13:36:09 +0000
committerpeter1138 <peter1138@openttd.org>2007-07-30 13:36:09 +0000
commit06986b774427ce82078fdfe6ba1b595183fc4926 (patch)
treeec204847663a86b810b56ed51a1ed3668a5a2cb1 /src/map.cpp
parent92061aba4ea4cb190ae94d98a2ecc1df52f90d45 (diff)
downloadopenttd-06986b774427ce82078fdfe6ba1b595183fc4926.tar.xz
(svn r10736) -Fix: Correct all mispellings of 'successful'.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 5e511772f..0c0964dfa 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -282,7 +282,7 @@ bool CircularTileSearch(TileIndex tile, uint size, TestTileOnSearchProc proc, ui
n = 2;
if (proc(TileXY(x, y), data)) return true;
- /* If tile test is not successfull, get one tile down and left,
+ /* If tile test is not successful, get one tile down and left,
* ready for a test in first circle around center tile */
x += _tileoffs_by_dir[DIR_W].x;
y += _tileoffs_by_dir[DIR_W].y;
@@ -300,7 +300,7 @@ bool CircularTileSearch(TileIndex tile, uint size, TestTileOnSearchProc proc, ui
uint j;
for (j = n; j != 0; j--) {
if (x <= MapMaxX() && y <= MapMaxY() && ///< Is the tile within the map?
- proc(TileXY(x, y), data)) { ///< Is the callback successfulll?
+ proc(TileXY(x, y), data)) { ///< Is the callback successful?
return true; ///< then stop the search
}