[wesnoth-commits] [wesnoth/wesnoth] b8ffe0: Throw a Lua exception when creating a negative-HP ...
GitHub
noreply at github.com
Tue May 15 17:20:57 UTC 2018
Branch: refs/heads/1.14
Home: https://github.com/wesnoth/wesnoth
Commit: b8ffe007e5a4026185c488589069766f475e1013
https://github.com/wesnoth/wesnoth/commit/b8ffe007e5a4026185c488589069766f475e1013
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2018-05-15 (Tue, 15 May 2018)
Changed paths:
M src/game_events/pump.cpp
M src/game_events/pump.hpp
M src/units/unit.cpp
Log Message:
-----------
Throw a Lua exception when creating a negative-HP unit in a Lua context
Instead of throwing a WML error. This allows the UMC author to get a stack
trace if the unit creation was triggered from Lua.
Requested by @gfgtdf in a comment of #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