mute a wmllint false positive about unknown unit referred to by id

This commit is contained in:
Anonymissimus 2012-01-20 22:19:18 +00:00
parent b271273d33
commit 2e348e8765

View file

@ -54,7 +54,7 @@
H = wesnoth.require "lua/helper.lua"
W = H.set_wml_action_metatable {}
_ = wesnoth.textdomain "my-campaign"
-- Define your global constants here.
-- ...
ai = {}
@ -177,7 +177,7 @@
code=<<
ai = ...
local my_ai = { }
function my_ai:retreat()
local urudin = wesnoth.get_units({side = 3, id="Urudin"})[1]
if urudin and urudin.valid then
@ -188,7 +188,7 @@
end
end
end
return my_ai
>>
[/engine]
@ -715,6 +715,7 @@
y=11
[/unit]
# wmllint: recognize Landar
[unit]
{LANDAR}
#ifndef MULTIPLAYER