[wesnoth-commits] [wesnoth/wesnoth] a019ed: Fix cave map generator producing passages along th...

Celtic Minstrel noreply at github.com
Tue Feb 16 18:46:18 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a019edb26c654335bd679a1001c93ee51527882c
      https://github.com/wesnoth/wesnoth/commit/a019edb26c654335bd679a1001c93ee51527882c
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M data/lua/cave_map_generator.lua

  Log Message:
  -----------
  Fix cave map generator producing passages along the map border

Maps are 0-indexed even in Lua (so that 1 ends up as the lowest passable coordinate), so subtract 1 here

Closes #5407





More information about the Commits mailing list