wc: fix a comment
This commit is contained in:
parent
294e9a8d5c
commit
81145470c3
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue