- fixed "allow click-targeting in combat" option for the new version of clique

This commit is contained in:
Parnic
2010-10-16 19:49:39 +00:00
parent 1f2738432b
commit 7bf4c9b56e

View File

@ -915,10 +915,12 @@ function PlayerHealth.prototype:EnableClickTargeting(bEnable)
else
self.frame.button:EnableMouse(false)
self.frame.button:RegisterForClicks()
self.frame.button:SetAttribute("type1")
self.frame.button:SetAttribute("type2")
-- set up click casting
ClickCastFrames = ClickCastFrames or {}
ClickCastFrames[self.frame.button] = true
ClickCastFrames[self.frame.button] = false
end
end