Fixed output error in .mmap path

This commit is contained in:
namreeb 2016-03-22 00:15:54 +00:00 committed by Antz
parent ca40e29e69
commit d40731af6b

View File

@ -4899,7 +4899,7 @@ bool ChatHandler::HandleMmapPathCommand(char* args)
path.calculate(x, y, z); path.calculate(x, y, z);
PointsArray pointPath = path.getPath(); PointsArray pointPath = path.getPath();
PSendSysMessage("%s's path to %s:", target->GetName(), player->GetName()); PSendSysMessage("%s's path to %s:", originUnit->GetName(), destinationUnit->GetName());
PSendSysMessage("Building %s", useStraightPath ? "StraightPath" : "SmoothPath"); PSendSysMessage("Building %s", useStraightPath ? "StraightPath" : "SmoothPath");
PSendSysMessage("length " SIZEFMTD " type %u", pointPath.size(), path.getPathType()); PSendSysMessage("length " SIZEFMTD " type %u", pointPath.size(), path.getPathType());