mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
SMSG_TRAINER_BUY_SUCCEEDED pre-inserts the spell into knownSpells and shows "You have learned X." The subsequent SMSG_LEARNED_SPELL packet would then show a second "You have learned a new spell: X." message. Fix: check if the spell was already in knownSpells before inserting in handleLearnedSpell. If it was pre-inserted by the trainer handler, skip the chat notification to avoid the duplicate. |
||
|---|---|---|
| .. | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| network | ||
| pipeline | ||
| rendering | ||
| ui | ||
| main.cpp | ||