mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user