mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
fix: clear spell visual negative cache on world entry
The spell visual failed-model cache was never cleared across world changes, so models that failed to load during initial asset loading (before MPQ/CASC data was fully indexed) would never retry. Now clears spellVisualFailedModels_ in resetCombatVisualState() alongside the active spell visual cleanup, giving failed models a fresh attempt on each world entry.
This commit is contained in:
parent
6bd950e817
commit
b89aa36483
1 changed files with 2 additions and 0 deletions
|
|
@ -3023,6 +3023,8 @@ void Renderer::resetCombatVisualState() {
|
|||
if (m2Renderer) m2Renderer->removeInstance(sv.instanceId);
|
||||
}
|
||||
activeSpellVisuals_.clear();
|
||||
// Reset the negative cache so models that failed during asset loading can retry.
|
||||
spellVisualFailedModels_.clear();
|
||||
}
|
||||
|
||||
bool Renderer::isMoving() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue