Update src/server/scripts/Commands/cs_mmaps.cpp

This commit is contained in:
rocky517
2012-11-12 14:43:51 +02:00
parent 68291eed03
commit 7249865a12

View File

@@ -96,7 +96,7 @@ public:
bool result = path.CalculatePath(x, y, z);
PointsArray pointPath = path.GetPath();
handler->PSendSysMessage("%s's path to %s:", target->GetName(), player->GetName());
handler->PSendSysMessage("%s's path to %s:", target->GetName().c_str(), player->GetName().c_str());
handler->PSendSysMessage("Building: %s", useStraightPath ? "StraightPath" : "SmoothPath");
handler->PSendSysMessage("Result: %s - Length: %i - Type: %u", (result ? "true" : "false"), pointPath.size(), path.GetPathType());