[Commits] [wesnoth/wesnoth] 3e9654: Fixed error when de-assigning village with [captur...

GitHub noreply at github.com
Thu Feb 15 01:41:34 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3e9654c3e408f386605afbe6107d34bd2935a2ee
      https://github.com/wesnoth/wesnoth/commit/3e9654c3e408f386605afbe6107d34bd2935a2ee
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Fixed error when de-assigning village with [capture_village] (fixes #2505)

The code wasn't checking for a case where new_side was 0... not sure why that didn't cause
a problem before. Anyway, since I made get_team() throw if the side was invalid, I made the
code catch the out-of-range exception. That way we don't have to worry if either new or old
side is invalid.


  Commit: 89ad67bb8a6e8da11fbc6e99bba556854d407c89
      https://github.com/wesnoth/wesnoth/commit/89ad67bb8a6e8da11fbc6e99bba556854d407c89
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M src/game_events/action_wml.cpp

  Log Message:
  -----------
  Don't display unit bars between steps in [move_units_fake]

The issue where the units don't show up between steps still hasn't been fixed, but
once it is the units would show with bars (HP, XP, orbs, etc). This fixes that.


Compare: https://github.com/wesnoth/wesnoth/compare/8629a780aa18...89ad67bb8a6e


More information about the Commits mailing list