Advertisement
Guest User

Untitled

a guest
Jan 7th, 2011
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. UFP = "UnitFramePortrait_Update"
  2. UICC = "Interface\\TargetingFrame\\UI-Classes-Circles"
  3. CIT = CLASS_ICON_TCOORDS
  4. hooksecurefunc(UFP,function(self) if self.portrait then local t = CIT[select(2,UnitClass(self.unit))] if t then self.portrait:SetTexture(UICC) self.portrait:SetTexCoord(unpack(t)) end end end)
  5. -- Change portraits into class icons
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement