Cata Update broke NPC Gossip Voice Reading
Akarficus opened this issue ยท 1 comments
The affected code is in VoiceOver.lua and it causes errors to pop up when talking to NPCs because the get gossip text function and get number of active gossip quests function got renamed in the Cata Classic update.
On line 341 of VoiceOver.lua, "local gossipText = GetGossipText()" should now be "local gossipText = C_GossipInfo.GetText()"
On line 290 of VoiceOver.lua, "local numActiveQuests = GetNumGossipActiveQuests()" should now be "local numActiveQuests = C_GossipInfo.GetNumActiveQuests()"
On line 291 of VoiceOver.lua, "local numAvailableQuests = GetNumGossipAvailableQuests()" should now be "local numAvailableQuests = C_GossipInfo.GetNumActiveQuests()"
This fixes the errors and allows the NPCs to be voiced when talking to them, as intended.