[Commits] [wesnoth/wesnoth] 6de1c9: Fix some [modify_ai] isses (addresses GNA25558)
GitHub
noreply at github.com
Fri Mar 10 05:12:40 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 6de1c9441f25b9c96a524e2c342e9f82483dd1c2
https://github.com/wesnoth/wesnoth/commit/6de1c9441f25b9c96a524e2c342e9f82483dd1c2
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2017-03-10 (Fri, 10 Mar 2017)
Changed paths:
M data/lua/wml-tags.lua
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
Fix some [modify_ai] isses (addresses GNA25558)
As far as I can tell, the most likely cause of the bug was that several
cases of [modify_ai]action=add were called with a path that lacked the final
empty braces at the end of the path.
This commit makes both the tag and the underlying Lua API calls explicitly
handle this case as if the final empty braces were, in fact, present.
More information about the Commits
mailing list