Mercurial > wow > wowdb-profiler
comparison Main.lua @ 230:85f113524b19 1.0.39
Remove check for ITEM_OPENABLE string if not running on 5.1 client.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Thu, 07 Feb 2013 13:53:30 -0600 |
parents | 25bfbe8b4826 |
children | 4ab275c52d7f |
comparison
equal
deleted
inserted
replaced
229:25bfbe8b4826 | 230:85f113524b19 |
---|---|
513 local current_line = _G["WDPDatamineTTTextLeft" .. line_index] | 513 local current_line = _G["WDPDatamineTTTextLeft" .. line_index] |
514 | 514 |
515 if not current_line then | 515 if not current_line then |
516 break | 516 break |
517 end | 517 end |
518 | 518 local is_ptr = select(4, _G.GetBuildInfo()) ~= 50100 |
519 if current_line:GetText() == _G.ITEM_OPENABLE then | 519 |
520 if is_ptr or current_line:GetText() == _G.ITEM_OPENABLE then | |
520 table.wipe(current_action) | 521 table.wipe(current_action) |
521 current_action.target_type = AF.ITEM | 522 current_action.target_type = AF.ITEM |
522 current_action.identifier = item_id | 523 current_action.identifier = item_id |
523 current_action.loot_label = "contains" | 524 current_action.loot_label = "contains" |
524 break | 525 break |