[wesnoth-commits] [wesnoth/wesnoth] ef60de: Disallow units with negative HP

GitHub noreply at github.com
Wed May 9 18:39:12 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ef60deaa2b0d14006a6747c61fdd4fd33562b6f0
      https://github.com/wesnoth/wesnoth/commit/ef60deaa2b0d14006a6747c61fdd4fd33562b6f0
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-05-09 (Wed, 09 May 2018)

  Changed paths:
    M src/scripting/lua_unit.cpp
    M src/units/unit.cpp

  Log Message:
  -----------
  Disallow units with negative HP

Damage calculation code can't tolerate presence of such units.

Fixes #3042.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list