aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <none@none>2010-06-16 20:03:21 +0200
committerShauren <none@none>2010-06-16 20:03:21 +0200
commitd65690ad382754ba09eee2c6711829cdcc29e9a6 (patch)
treeb5ad4c7cad99899d913d418d76e03c8b9f2c62ff /src
parent9b2d3b0a718315b250235a33038ba0c5603e5b45 (diff)
Fixed wrong string format in HandleNpcUnFollowCommand
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Chat/Commands/Level2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Chat/Commands/Level2.cpp b/src/server/game/Chat/Commands/Level2.cpp
index 85c5ef739fd..5d67ec06660 100644
--- a/src/server/game/Chat/Commands/Level2.cpp
+++ b/src/server/game/Chat/Commands/Level2.cpp
@@ -1672,7 +1672,7 @@ bool ChatHandler::HandleNpcUnFollowCommand(const char* /*args*/)
if (/*creature->GetMotionMaster()->empty() ||*/
creature->GetMotionMaster()->GetCurrentMovementGeneratorType () != TARGETED_MOTION_TYPE)
{
- PSendSysMessage(LANG_CREATURE_NOT_FOLLOW_YOU);
+ PSendSysMessage(LANG_CREATURE_NOT_FOLLOW_YOU, creature->GetName());
SetSentErrorMessage(true);
return false;
}
@@ -1682,7 +1682,7 @@ bool ChatHandler::HandleNpcUnFollowCommand(const char* /*args*/)
if (mgen->GetTarget() != player)
{
- PSendSysMessage(LANG_CREATURE_NOT_FOLLOW_YOU);
+ PSendSysMessage(LANG_CREATURE_NOT_FOLLOW_YOU, creature->GetName());
SetSentErrorMessage(true);
return false;
}