summaryrefslogtreecommitdiff
path: root/src/map_func.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-06-03 02:20:27 +0000
committerbelugas <belugas@openttd.org>2008-06-03 02:20:27 +0000
commitb0ada3fbbf25693675a18e3360657816ed5cf2ca (patch)
tree995aadb7b724c94354b6a56dab399357bd204c3c /src/map_func.h
parent00851610e1e64d8b5e759c425bfd4ddbf8f504ee (diff)
downloadopenttd-b0ada3fbbf25693675a18e3360657816ed5cf2ca.tar.xz
(svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not
Diffstat (limited to 'src/map_func.h')
-rw-r--r--src/map_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map_func.h b/src/map_func.h
index b9933674e..a4b3991da 100644
--- a/src/map_func.h
+++ b/src/map_func.h
@@ -391,7 +391,7 @@ typedef bool TestTileOnSearchProc(TileIndex tile, uint32 data);
/**
* Searches for some cirumstances of a tile around a given tile with a helper function.
*/
-bool CircularTileSearch(TileIndex tile, uint size, TestTileOnSearchProc proc, uint32 data);
+bool CircularTileSearch(TileIndex *tile, uint size, TestTileOnSearchProc proc, uint32 data);
/**
* Get a random tile out of a given seed.