diff options
author | rubidium <rubidium@openttd.org> | 2011-11-04 10:22:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-04 10:22:27 +0000 |
commit | 2ed0f93bfbd27ba4b4dc3e590556ffae6d9b9338 (patch) | |
tree | 9086d7e7b83871e60d43d838fd5f005ef50c5063 /src/ai | |
parent | a36551dbb4a6aa8a10e99df8331ac4ecb8586270 (diff) | |
download | openttd-2ed0f93bfbd27ba4b4dc3e590556ffae6d9b9338.tar.xz |
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/api/ai_tile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_tile.cpp b/src/ai/api/ai_tile.cpp index 2c098e5ba..bda19775b 100644 --- a/src/ai/api/ai_tile.cpp +++ b/src/ai/api/ai_tile.cpp @@ -142,7 +142,7 @@ { if (!::IsValidTile(tile)) return SLOPE_INVALID; - return (Slope)::GetTilePixelSlope(tile, NULL); + return (Slope)::GetTileSlope(tile); } /* static */ AITile::Slope AITile::GetComplementSlope(Slope slope) |