Merge branch 'azerothcore:master' into Playerbot

This commit is contained in:
ZhengPeiRu21
2023-04-24 09:38:43 -06:00
committed by GitHub
27 changed files with 7015 additions and 27 deletions

View File

@@ -3826,7 +3826,7 @@ void Map::DoForAllPlayers(std::function<void(Player*)> exec)
bool Map::CanReachPositionAndGetValidCoords(WorldObject const* source, PathGenerator *path, float &destX, float &destY, float &destZ, bool failOnCollision, bool failOnSlopes) const
{
G3D::Vector3 prevPath = path->GetStartPosition();
for (auto & vector : path->GetPath())
for (auto& vector : path->GetPath())
{
float x = vector.x;
float y = vector.y;