From 5f3d302283dcf1ab8c6c708ff7edf217389d61a7 Mon Sep 17 00:00:00 2001 From: Scott Sibley Date: Mon, 20 Jun 2011 04:21:35 +0000 Subject: [PATCH] Bug fixes --- Modules/UnitTooltip/UnitTooltip.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua index 8558d7f..93c8926 100644 --- a/Modules/UnitTooltip/UnitTooltip.lua +++ b/Modules/UnitTooltip/UnitTooltip.lua @@ -753,9 +753,9 @@ if team and type(team.teamSize) == "number" and team.teamSize > 0 then local emblem = Texture("Interface\\PVPFrame\\Icons\\PVP-Banner-Emblem-"..team.emblem, 12) local embcol = RGBA2Color(team.emblemR, team.emblemG, team.emblemB) local bkgcol = RGBA2Color(team.backR, team.backG, team.backB) - local brighest = ColorBrightest(embcol, bkgcol) + local brightest = ColorBrightest(embcol, bkgcol) local r, g, b = Color2RGBA(brightest) - local tag = Colorize("2v2", max(r, .2), max(g, .2), max(b, .2)) + local tag = Colorize("2v2", r, g, b) local wins, played = team.teamWins, team.teamPlayed local losses = played - wins local winlost = "" @@ -788,9 +788,9 @@ if team and type(team.teamSize) == "number" and team.teamSize > 0 then local emblem = Texture("Interface\\PVPFrame\\Icons\\PVP-Banner-Emblem-"..team.emblem, 12) local embcol = RGBA2Color(team.emblemR, team.emblemG, team.emblemB) local bkgcol = RGBA2Color(team.backR, team.backG, team.backB) - local brighest = ColorBrightest(embcol, bkgcol) + local brightest = ColorBrightest(embcol, bkgcol) local r, g, b = Color2RGBA(brightest) - local tag = Colorize("3v3", max(r, .2), max(g, .2), max(b, .2)) + local tag = Colorize("3v3", r, g, b) local wins, played = team.teamWins, team.teamPlayed local losses = played - wins local winlost = "" @@ -823,9 +823,9 @@ if team and type(team.teamSize) == "number" and team.teamSize > 0 then local emblem = Texture("Interface\\PVPFrame\\Icons\\PVP-Banner-Emblem-"..team.emblem, 12) local embcol = RGBA2Color(team.emblemR, team.emblemG, team.emblemB) local bkgcol = RGBA2Color(team.backR, team.backG, team.backB) - local brighest = ColorBrightest(embcol, bkgcol) + local brightest = ColorBrightest(embcol, bkgcol) local r, g, b = Color2RGBA(brightest) - local tag = Colorize("5v5", max(r, .2), max(g, .2), max(b, .2)) + local tag = Colorize("5v5", r, g, b) local wins, played = team.teamWins, team.teamPlayed local losses = played - wins local winlost = "" -- 1.7.9.5