diff options
author | maximius <none@none> | 2009-09-14 16:49:23 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-14 16:49:23 -0700 |
commit | 140ec674a040bdc04086472330a289c2d15ecc65 (patch) | |
tree | 343ac40e805c3139a2bc1bd80e956e89c5a1653c /src/game/Level2.cpp | |
parent | b37f9b1e55bd4b80597b8b8c3f461aad70ccc5c1 (diff) |
Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level2.cpp')
-rw-r--r-- | src/game/Level2.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index eadd6bc1cf5..5e545fa5a41 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -3066,7 +3066,7 @@ bool ChatHandler::HandleWpShowCommand(const char* args) return false; } - sLog.outDebug("DEBUG: UPDATE waypoint_data SET wpguid = '%u", wpCreature->GetGUIDLow()); + sLog.outDebug("DEBUG: UPDATE waypoint_data SET wpguid = '%u"); // set "wpguid" column to the visual waypoint WorldDatabase.PExecuteLog("UPDATE waypoint_data SET wpguid = '%u' WHERE id = '%u' and point = '%u'", wpCreature->GetGUIDLow(), pathid, point); @@ -3670,6 +3670,8 @@ void ChatHandler::HandleLearnSkillRecipesHelper(Player* player,uint32 skill_id) bool ChatHandler::HandleLearnAllCraftsCommand(const char* /*args*/) { + uint32 classmask = m_session->GetPlayer()->getClassMask(); + for (uint32 i = 0; i < sSkillLineStore.GetNumRows(); ++i) { SkillLineEntry const *skillInfo = sSkillLineStore.LookupEntry(i); @@ -3712,6 +3714,8 @@ bool ChatHandler::HandleLearnAllRecipesCommand(const char* args) // converting string that we try to find to lower case wstrToLower( wnamepart ); + uint32 classmask = m_session->GetPlayer()->getClassMask(); + std::string name; SkillLineEntry const *targetSkillInfo = NULL; |