summaryrefslogtreecommitdiff
path: root/ai/default/default.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-11 09:10:46 +0000
committertron <tron@openttd.org>2006-03-11 09:10:46 +0000
commit929fae7b685a21e2337736084e42731f84cf8cba (patch)
tree5a49ef225f58c5e3ddaaa72935a0c65e716fe884 /ai/default/default.c
parent6892e04d14a78818c6cdbf71b0d1f92996a10bc6 (diff)
downloadopenttd-929fae7b685a21e2337736084e42731f84cf8cba.tar.xz
(svn r3816) Use existing accessors
Diffstat (limited to 'ai/default/default.c')
-rw-r--r--ai/default/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai/default/default.c b/ai/default/default.c
index a92e8d1c2..f6e6cdbde 100644
--- a/ai/default/default.c
+++ b/ai/default/default.c
@@ -3659,7 +3659,7 @@ pos_3:
return;
}
- dir = _m[tile].m5 & 3;
+ dir = GetRoadDepotDirection(tile);
DoCommandByTile(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);
DoCommandByTile(