Mercurial > wow > buffalo2
comparison ObjectiveTracker/Events.lua @ 40:03ed70f846de
- move block accessors into a new file
- define a tMove function for reconciling the free/used tables as needed
- when retrieving an old block frame, confirm ID still matches; resolves multiple watch items on one block
- stop any animations when a block is freed; resolves stuck flare graphics
author | Nenue |
---|---|
date | Sun, 24 Apr 2016 14:15:25 -0400 |
parents | 92534dc793f2 |
children |
comparison
equal
deleted
inserted
replaced
39:92534dc793f2 | 40:03ed70f846de |
---|---|
68 | 68 |
69 local previousSelection | 69 local previousSelection |
70 local tprint = B.print('Tracker') | 70 local tprint = B.print('Tracker') |
71 T.SelectQuestLogEntry = function(logIndex) | 71 T.SelectQuestLogEntry = function(logIndex) |
72 if previousSelection and previousSelection ~= logIndex then | 72 if previousSelection and previousSelection ~= logIndex then |
73 tprint('swapping selection from', previousSelection, 'to', logIndex) | 73 print('swapping selection from', previousSelection, 'to', logIndex) |
74 end | 74 end |
75 previousSelection = logIndex | 75 previousSelection = logIndex |
76 end | 76 end |