aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level2.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-14 16:02:13 -0700
committermaximius <none@none>2009-09-14 16:02:13 -0700
commitb37f9b1e55bd4b80597b8b8c3f461aad70ccc5c1 (patch)
treec637055aab5d8f0e733fc611fada42c43ad04d83 /src/game/Level2.cpp
parent7b664c8c9fdda2b963f7883684a2f31d0f79551b (diff)
*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG-- branch : trunk
Diffstat (limited to 'src/game/Level2.cpp')
-rw-r--r--src/game/Level2.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp
index 5e545fa5a41..eadd6bc1cf5 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");
+ sLog.outDebug("DEBUG: UPDATE waypoint_data SET wpguid = '%u", wpCreature->GetGUIDLow());
// 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,8 +3670,6 @@ 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);
@@ -3714,8 +3712,6 @@ 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;