[Commits] [wesnoth/wesnoth] c1c768: small playcampaign refactor

GitHub noreply at github.com
Sun Jun 15 22:46:03 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c1c76881c7d9fb3964a78f23b87a0f65c9b4836c
      https://github.com/wesnoth/wesnoth/commit/c1c76881c7d9fb3964a78f23b87a0f65c9b4836c
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2014-06-16 (Mon, 16 Jun 2014)

  Changed paths:
    M src/playcampaign.cpp

  Log Message:
  -----------
  small playcampaign refactor

we move state_of_game.expand_carryover(); out of playmp/singel scenario to remove code dublication

we move gamestate.get_starting_pos().child_range("story"); after expand_random_scenario because expand_random_scenario might invalidate the returnvalue of child_range("story").





More information about the Commits mailing list