[object] don't show unit reach when highlighting unit

This commit is contained in:
Charles Dang 2015-09-21 10:47:21 +11:00
parent a3e3f5e719
commit acdc67fe56

View file

@ -35,7 +35,7 @@ function wml_actions.object(cfg)
wesnoth.add_modification(unit, "object", helper.parsed(cfg), add)
end
wesnoth.select_hex(unit.x, unit.y)
wesnoth.select_hex(unit.x, unit.y, false)
-- Mark this item as used up
if obj_id then used_items[obj_id] = true end