Mercurial > wow > cyborg-mmo7
comparison CyborgMMO7.lua @ 57:1236b2b22dde
Removed unnecessary call to getglobal.
| author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
|---|---|
| date | Fri, 03 May 2013 23:24:37 +0000 |
| parents | c9706291c141 |
| children | cec87b651c10 |
comparison
equal
deleted
inserted
replaced
| 56:5ca5fe6b0871 | 57:1236b2b22dde |
|---|---|
| 70 end | 70 end |
| 71 | 71 |
| 72 function CyborgMMO_MouseModeChange(mode) | 72 function CyborgMMO_MouseModeChange(mode) |
| 73 local MiniMapTexture = CyborgMMO_MiniMapButtonIcon | 73 local MiniMapTexture = CyborgMMO_MiniMapButtonIcon |
| 74 local MiniMapGlowTexture = CyborgMMO_MiniMapButtonIconGlow | 74 local MiniMapGlowTexture = CyborgMMO_MiniMapButtonIconGlow |
| 75 local OpenButtonTexture = getglobal("CyborgMMO_OpenButtonPage".."OpenMainForm"):GetNormalTexture() | 75 local OpenButtonTexture = CyborgMMO_OpenButtonPageOpenMainForm:GetNormalTexture() |
| 76 local OpenButtonGlowTexture = getglobal("CyborgMMO_OpenButtonPage".."OpenMainForm"):GetHighlightTexture() | 76 local OpenButtonGlowTexture = CyborgMMO_OpenButtonPageOpenMainForm:GetHighlightTexture() |
| 77 if mode == 1 then | 77 if mode == 1 then |
| 78 MiniMapTexture:SetVertexColor(1,0,0,1) | 78 MiniMapTexture:SetVertexColor(1,0,0,1) |
| 79 MiniMapGlowTexture:SetVertexColor(1,0.26,0.26,.75) | 79 MiniMapGlowTexture:SetVertexColor(1,0.26,0.26,.75) |
| 80 OpenButtonTexture:SetVertexColor(1,0,0,0.75) | 80 OpenButtonTexture:SetVertexColor(1,0,0,0.75) |
| 81 OpenButtonGlowTexture:SetVertexColor(1,0.26,0.26,0.50) | 81 OpenButtonGlowTexture:SetVertexColor(1,0.26,0.26,0.50) |
