Changeset - r10766:39c24bff2987
[Not reviewed]
master
0 1 0
truebrain - 15 years ago 2009-01-15 20:59:22
truebrain@openttd.org
(svn r15099) -Fix (r15078): GetTileIndex(0, -1) is perfectly fine
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/api/ai_map.cpp
Show inline comments
 
@@ -40,7 +40,6 @@
 

	
 
/* static */ TileIndex AIMap::GetTileIndex(uint32 x, uint32 y)
 
{
 
	if (x >= ::MapSizeX() || y >= MapSizeY()) return INVALID_TILE;
 
	return ::TileXY(x, y);
 
}
 

	
0 comments (0 inline, 0 general)