diff options
author | frosch <frosch@openttd.org> | 2010-04-17 23:34:00 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-04-17 23:34:00 +0000 |
commit | 893e405af09ed97261ff25de195b4bd6825bc8f6 (patch) | |
tree | 1283fa279036d508db85e7b698547816813be176 /src/ai | |
parent | 1647c2d50e1dfeb05507ddfb2b661896e72670ae (diff) | |
download | openttd-893e405af09ed97261ff25de195b4bd6825bc8f6.tar.xz |
(svn r19668) -Codechange: Use WaterClass in parameters of CMD_BUILD_CANAL.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/api/ai_marine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_marine.cpp b/src/ai/api/ai_marine.cpp index 07de889da..0e2e26a8a 100644 --- a/src/ai/api/ai_marine.cpp +++ b/src/ai/api/ai_marine.cpp @@ -108,7 +108,7 @@ { EnforcePrecondition(false, ::IsValidTile(tile)); - return AIObject::DoCommand(tile, tile, 0, CMD_BUILD_CANAL); + return AIObject::DoCommand(tile, tile, WATER_CLASS_CANAL, CMD_BUILD_CANAL); } /* static */ bool AIMarine::RemoveWaterDepot(TileIndex tile) |