[Commits] [wesnoth/wesnoth] 62bff2: Small cleanup in map generator

GitHub noreply at github.com
Wed Apr 19 22:13:59 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 62bff261a102b5f5014f5c8a85e364faa1893e9f
      https://github.com/wesnoth/wesnoth/commit/62bff261a102b5f5014f5c8a85e364faa1893e9f
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
    M src/generators/default_map_generator_job.cpp

  Log Message:
  -----------
  Small cleanup in map generator

- The shuffle previously only shuffled the first four elements
- The intermediary index array isn't needed since map_locations are assignable
- Use range-for





More information about the Commits mailing list