From b0ada3fbbf25693675a18e3360657816ed5cf2ca Mon Sep 17 00:00:00 2001 From: belugas Date: Tue, 3 Jun 2008 02:20:27 +0000 Subject: (svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not --- src/map_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map_func.h') 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. -- cgit v1.2.3-54-g00ecf