Author: anonymissimus
Date: Fri May 13 18:58:36 2011
New Revision: 49501
URL: http://svn.gna.org/viewcvs/wesnoth?rev=49501&view=rev
Log:
removed unused local function get_team
All of the side-taking lua tags have now a SSF, except for capture_village for
which I yet don't have a good idea how to deal with.
Modified:
trunk/data/lua/wml-tags.lua
Modified: trunk/data/lua/wml-tags.lua
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/lua/wml-tags.lua?rev=49501&r1=49500&r2=49501&view=diff
==============================================================================
--- trunk/data/lua/wml-tags.lua (original)
+++ trunk/data/lua/wml-tags.lua Fri May 13 18:58:36 2011
@@ -35,14 +35,6 @@
if not show_if or wesnoth.eval_conditional(show_if) then
engine_message(cfg)
end
-end
-
-local function get_team(side, tag)
- side = tonumber(side or 1) or
- helper.wml_error(tag .. " given a noninteger side= attribute.")
- local team = wesnoth.sides[side] or
- helper.wml_error(tag .. " given an invalid side= attribute.")
- return team
end
function wml_actions.chat(cfg)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits