Fixed wrong string format in HandleNpcUnFollowCommand
--HG-- branch : trunk
This commit is contained in:
@@ -1672,7 +1672,7 @@ bool ChatHandler::HandleNpcUnFollowCommand(const char* /*args*/)
|
|||||||
if (/*creature->GetMotionMaster()->empty() ||*/
|
if (/*creature->GetMotionMaster()->empty() ||*/
|
||||||
creature->GetMotionMaster()->GetCurrentMovementGeneratorType () != TARGETED_MOTION_TYPE)
|
creature->GetMotionMaster()->GetCurrentMovementGeneratorType () != TARGETED_MOTION_TYPE)
|
||||||
{
|
{
|
||||||
PSendSysMessage(LANG_CREATURE_NOT_FOLLOW_YOU);
|
PSendSysMessage(LANG_CREATURE_NOT_FOLLOW_YOU, creature->GetName());
|
||||||
SetSentErrorMessage(true);
|
SetSentErrorMessage(true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -1682,7 +1682,7 @@ bool ChatHandler::HandleNpcUnFollowCommand(const char* /*args*/)
|
|||||||
|
|
||||||
if (mgen->GetTarget() != player)
|
if (mgen->GetTarget() != player)
|
||||||
{
|
{
|
||||||
PSendSysMessage(LANG_CREATURE_NOT_FOLLOW_YOU);
|
PSendSysMessage(LANG_CREATURE_NOT_FOLLOW_YOU, creature->GetName());
|
||||||
SetSentErrorMessage(true);
|
SetSentErrorMessage(true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user