mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Fix spellbook tabs race condition with DBC lazy loading
lookupSpellName() (called by action bar tooltips) was triggering loadSpellDBC() early, setting dbcLoadAttempted=true before the spellbook opened. This caused loadSkillLineDBCs() to be skipped, so all spells were categorized into "General". Fixed by checking each DBC's own loaded flag independently and re-categorizing when skill line data becomes available.
This commit is contained in:
parent
c919477e74
commit
c2b271df6f
2 changed files with 9 additions and 2 deletions
|
|
@ -71,6 +71,7 @@ private:
|
|||
// Categorized spell tabs
|
||||
std::vector<SpellTabInfo> spellTabs;
|
||||
size_t lastKnownSpellCount = 0;
|
||||
bool categorizedWithSkillLines = false;
|
||||
|
||||
// Search filter
|
||||
char searchFilter_[128] = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue