[Commits] [wesnoth/wesnoth] b4e5f1: improve formatting in lua code.
GitHub
noreply at github.com
Mon Dec 21 19:59:22 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: b4e5f16d746329446889005e71982d1940197b5b
https://github.com/wesnoth/wesnoth/commit/b4e5f16d746329446889005e71982d1940197b5b
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2015-12-21 (Mon, 21 Dec 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
improve formatting in lua code.
This also fixes a bug in [harm_unit] where a second arument was passed
to wml_actions.animate_unit which was obviously meant to be part of the
first argument.
This also changes harm_unit to use wml_actions.animate_unit instead of
wesnoth.animate_unit becasue the former is better known an thus easier
to understand.
Commit: 1eefcddc177485f9d9fdadb5adb516c9d8aadee4
https://github.com/wesnoth/wesnoth/commit/1eefcddc177485f9d9fdadb5adb516c9d8aadee4
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2015-12-21 (Mon, 21 Dec 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
use wesnoth.advance_unit to advance units in [harm_unit]
Commit: 4c955e7461b76b66660ffd2a1d14b4a48a7a3e38
https://github.com/wesnoth/wesnoth/commit/4c955e7461b76b66660ffd2a1d14b4a48a7a3e38
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2015-12-21 (Mon, 21 Dec 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
don't use __shallow_literal directly
the passed config might not be a vconfig.
Compare: https://github.com/wesnoth/wesnoth/compare/9b7b1751fdda...4c955e7461b7
More information about the Commits
mailing list