Skip to content

Instantly share code, notes, and snippets.

@DasBlub
Created September 12, 2010 21:59
Show Gist options
  • Save DasBlub/576499 to your computer and use it in GitHub Desktop.
Save DasBlub/576499 to your computer and use it in GitHub Desktop.
Index: scripts/world/npcs_special.cpp
===================================================================
--- scripts/world/npcs_special.cpp (revision 1816)
+++ scripts/world/npcs_special.cpp (working copy)
@@ -1321,7 +1321,7 @@
if (pCreature->isTrainer())
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_TRAINER, GOSSIP_TEXT_TRAIN, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_TRAIN);
- if (pCreature->isCanTrainingAndResetTalentsOf(pPlayer))
+ if (pCreature->canTrainAndResetTalentsOf(pPlayer))
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_TRAINER, "I wish to unlearn my talents", GOSSIP_SENDER_MAIN, GOSSIP_OPTION_UNLEARNTALENTS);
if (pPlayer->getClass() == CLASS_ROGUE && pPlayer->getLevel() >= 24 && !pPlayer->HasItemCount(17126,1) && !pPlayer->GetQuestRewardStatus(6681))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment