summaryrefslogtreecommitdiff
path: root/ai.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-07 10:41:45 +0000
committertron <tron@openttd.org>2005-02-07 10:41:45 +0000
commitf8d97a5f616c5e303b2822316fcef409baee6195 (patch)
tree6fb9696d4610ea19244f194d0c47fa748af72fd4 /ai.c
parentad837c2069d37ad36dfba07f62bd35a6694dd266 (diff)
downloadopenttd-f8d97a5f616c5e303b2822316fcef409baee6195.tar.xz
(svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
Diffstat (limited to 'ai.c')
-rw-r--r--ai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai.c b/ai.c
index 2a1132993..1bbc88af2 100644
--- a/ai.c
+++ b/ai.c
@@ -1708,7 +1708,7 @@ static void AiDoTerraformLand(TileIndex tile, int dir, int unk, int mode)
byte old_player;
uint32 r;
uint slope;
- int h;
+ uint h;
old_player = _current_player;
_current_player = OWNER_NONE;