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

GitHub noreply at github.com
Sat May 19 19:09:44 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0e483441d8c8ef002aef9f53fa708a4899f42d2c
      https://github.com/wesnoth/wesnoth/commit/0e483441d8c8ef002aef9f53fa708a4899f42d2c
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2018-05-19 (Sat, 19 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