mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 06:36:24 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -176,13 +176,7 @@ namespace VMAP
|
||||
// direction with length of 1
|
||||
G3D::Ray ray = G3D::Ray::fromOriginAndDirection(pos1, (pos2 - pos1) / maxDist);
|
||||
|
||||
if (GetIntersectionTime(ray, maxDist, true, ignoreFlags))
|
||||
{
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return !GetIntersectionTime(ray, maxDist, true, ignoreFlags);
|
||||
}
|
||||
//=========================================================
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user