[Commits] [wesnoth/wesnoth] d80d47: [heal_unit]: fix wrong value of "hits" parameter

GitHub noreply at github.com
Mon Dec 18 21:29:08 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d80d47eb8a88ada0e0b9f10de36587d36fa3d988
      https://github.com/wesnoth/wesnoth/commit/d80d47eb8a88ada0e0b9f10de36587d36fa3d988
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M data/lua/wml/heal_unit.lua

  Log Message:
  -----------
  [heal_unit]: fix wrong value of "hits" parameter

Only "hit", "miss" and "kill" are allowed.


  Commit: f064f50f1b15abb682e46f5ee22a46e7da30afb6
      https://github.com/wesnoth/wesnoth/commit/f064f50f1b15abb682e46f5ee22a46e7da30afb6
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M data/lua/wml/heal_unit.lua

  Log Message:
  -----------
  [heal_unit]: Turn on floating text with animate=yes

I also moved the animation to be played *before* healing, which is the same
order as in C++ code. In the previous order, the animation isn't played for
some reason.

Fixes #2295.


Compare: https://github.com/wesnoth/wesnoth/compare/035324231500...f064f50f1b15


More information about the Commits mailing list