[wesnoth-commits] [wesnoth/wesnoth] a10287: fix require_scenario=yes not working with map_gene...

GitHub noreply at github.com
Sat May 19 23:15:19 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a10287c5c2a49ff248f218c11f4061e472090089
      https://github.com/wesnoth/wesnoth/commit/a10287c5c2a49ff248f218c11f4061e472090089
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2018-05-20 (Sun, 20 May 2018)

  Changed paths:
    M src/game_initialization/create_engine.cpp
    M src/saved_game.cpp
    M src/saved_game.hpp

  Log Message:
  -----------
  fix require_scenario=yes not working with map_generation

this fixes require_scenario=yes for scenarios that use map_generation or
scenario_generation, the problem was that create_engine does not call
saved_game::expand_scenario for random maps, (which is the function that
checks require_scenario=yes)

fixes #3105



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list