diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 9960243ce1..5a67678ffa 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -513,7 +513,7 @@ CommandCost CmdBuildCanal(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 if (flags & DC_EXEC) { if (IsTileType(current_tile, MP_WATER) && IsCanal(current_tile)) { - Owner owner = GetTileOwner(tile); + Owner owner = GetTileOwner(current_tile); if (Company::IsValidID(owner)) { Company::Get(owner)->infrastructure.water--; DirtyCompanyInfrastructureWindows(owner);