Core/Misc: reduced amount of string memory allocations (Step I)

This commit is contained in:
Spp
2012-10-24 13:29:34 +02:00
parent ca85c3b475
commit 013fb1f4d9
91 changed files with 881 additions and 890 deletions

View File

@@ -116,7 +116,7 @@ void FollowerAI::MoveInLineOfSight(Unit* who)
}
}
void FollowerAI::JustDied(Unit* /*pKiller*/)
void FollowerAI::JustDied(Unit* /*killer*/)
{
if (!HasFollowState(STATE_FOLLOW_INPROGRESS) || !m_uiLeaderGUID || !m_pQuestForFollow)
return;
@@ -305,7 +305,7 @@ void FollowerAI::StartFollow(Player* player, uint32 factionForFollower, const Qu
me->GetMotionMaster()->MoveFollow(player, PET_FOLLOW_DIST, PET_FOLLOW_ANGLE);
sLog->outDebug(LOG_FILTER_TSCR, "FollowerAI start follow %s (GUID " UI64FMTD ")", player->GetName(), m_uiLeaderGUID);
sLog->outDebug(LOG_FILTER_TSCR, "FollowerAI start follow %s (GUID " UI64FMTD ")", player->GetName().c_str(), m_uiLeaderGUID);
}
Player* FollowerAI::GetLeaderForFollower()