[Commits] [wesnoth/wesnoth] 7a1b5c: Fix a crash when entering a campaign with no diffi...

GitHub noreply at github.com
Wed Dec 16 08:49:33 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7a1b5c80ff2edb937286faccd688de5bb246fe3a
      https://github.com/wesnoth/wesnoth/commit/7a1b5c80ff2edb937286faccd688de5bb246fe3a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2015-12-16 (Wed, 16 Dec 2015)

  Changed paths:
    M src/game_initialization/create_engine.cpp

  Log Message:
  -----------
  Fix a crash when entering a campaign with no difficulties provided

The code to guard against an eventuality was hidden inside an if-block that relied
on a specified define index value being passed to select_campaign_difficulty().


  Commit: 591b1aa6be70fd0619672ebdbc9dad6c5d2dff15
      https://github.com/wesnoth/wesnoth/commit/591b1aa6be70fd0619672ebdbc9dad6c5d2dff15
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2015-12-16 (Wed, 16 Dec 2015)

  Changed paths:
    M src/game_initialization/create_engine.cpp

  Log Message:
  -----------
  Give new [difficulty] tag precedence over old difficulties= syntax


Compare: https://github.com/wesnoth/wesnoth/compare/f41bbd835cce...591b1aa6be70


More information about the Commits mailing list