[Commits] [wesnoth/wesnoth] 995a09: Don't segfault on --campaign-difficulty 0

GitHub noreply at github.com
Tue May 13 12:43:23 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 995a093921a05c17da1b638af40f6976d3547588
      https://github.com/wesnoth/wesnoth/commit/995a093921a05c17da1b638af40f6976d3547588
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2014-05-13 (Tue, 13 May 2014)

  Changed paths:
    M src/game_controller.cpp

  Log Message:
  -----------
  Don't segfault on --campaign-difficulty 0


  Commit: 2fb462aa479e7bee697e6b8481cf1301d9bb6538
      https://github.com/wesnoth/wesnoth/commit/2fb462aa479e7bee697e6b8481cf1301d9bb6538
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2014-05-13 (Tue, 13 May 2014)

  Changed paths:
    M src/unit_display.cpp

  Log Message:
  -----------
  Fix [hide_unit] on animationless unit moves

The was_hidden_ variable wasn't set in this particular codepath,
causing the unit to be unhidden at the end of the move.


Compare: https://github.com/wesnoth/wesnoth/compare/3e59bd4541b2...2fb462aa479e


More information about the Commits mailing list