diff options
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) |