wc: fix a comment

This commit is contained in:
gfgtdf 2023-12-11 23:28:25 +01:00
parent 294e9a8d5c
commit 81145470c3

View file

@ -243,9 +243,9 @@ end
-- creates roads, faster than wct_iterate_roads_to -- creates roads, faster than wct_iterate_roads_to
-- creates for each tile that mactches a f_src a road -- creates for each tile that mactches a f_src a road
-- to a tile that macthes @a f_dest of possible, -- to a tile that macthes @a f_dest if possible.
-- roads have a maximum length of @a radius and can only be -- Roads have a maximum length of @a radius and can only be
-- placed on tiles that match @a f_dest -- placed on tiles that match @a f_validpath
function wct_iterate_roads_to_2(f_validpath, f_src, f_dest, terrain_road, radius) function wct_iterate_roads_to_2(f_validpath, f_src, f_dest, terrain_road, radius)
local src_tiles = map:find(f_src) local src_tiles = map:find(f_src)
local dest_tiles = map:find(f_dest) local dest_tiles = map:find(f_dest)