Mercurial > wow > reaction
comparison PetActionButton.lua @ 280:b3c01452d395
fix typo
author | Flick |
---|---|
date | Wed, 11 May 2011 16:20:33 -0700 |
parents | 3dcfc0aad875 |
children | 2098dba4baf5 |
comparison
equal
deleted
inserted
replaced
278:3dcfc0aad875 | 280:b3c01452d395 |
---|---|
79 ReAction:RegisterBarType(Pet) | 79 ReAction:RegisterBarType(Pet) |
80 | 80 |
81 function Pet:New( config, bar, idx, idHint ) | 81 function Pet:New( config, bar, idx, idHint ) |
82 self = Super.New(self, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" ) | 82 self = Super.New(self, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" ) |
83 | 83 |
84 local fname = self:GetFrame():GetName() | 84 local name = self:GetFrame():GetName() |
85 | 85 |
86 local f = self:GetFrame() | 86 local f = self:GetFrame() |
87 if not f.autoCastTexture then | 87 if not f.autoCastTexture then |
88 -- store autocast stuff with the frame for recycling | 88 -- store autocast stuff with the frame for recycling |
89 local tex = f:CreateTexture(nil,"OVERLAY") | 89 local tex = f:CreateTexture(nil,"OVERLAY") |