[Commits] [wesnoth/wesnoth] 1dd5ee: Small cleanup in map generator
GitHub
noreply at github.com
Wed Apr 19 20:32:36 UTC 2017
Branch: refs/heads/CelticMinstrel-patch-1
Home: https://github.com/wesnoth/wesnoth
Commit: 1dd5ee1189bb2ec28be4299a04ac50c710d42dca
https://github.com/wesnoth/wesnoth/commit/1dd5ee1189bb2ec28be4299a04ac50c710d42dca
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