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

GitHub noreply at github.com
Wed May 9 18:38:00 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3c344e8da502b92d3feefc7d1690c29a3a2c76ec
      https://github.com/wesnoth/wesnoth/commit/3c344e8da502b92d3feefc7d1690c29a3a2c76ec
  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