diff PetActionButton.lua @ 281:2098dba4baf5

Merge
author Flick
date Wed, 11 May 2011 16:20:48 -0700
parents 5b9c0164a491 b3c01452d395
children 499ca4edf033
line wrap: on
line diff
--- a/PetActionButton.lua	Wed May 11 16:19:17 2011 -0700
+++ b/PetActionButton.lua	Wed May 11 16:20:48 2011 -0700
@@ -81,6 +81,8 @@
 function Pet:New( config, bar, idx, idHint )
   self = Super.New(self, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" )
 
+  local name = self:GetFrame():GetName()
+
   local f = self:GetFrame()
   if not f.autoCastTexture then
     -- store autocast stuff with the frame for recycling