Added missing GameObjectModel::iLosBlockingDisabled initialization in constructor
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3763c338d9c1b007b76b0ca94c069bcfbbd8801)
This commit is contained in:
@@ -94,7 +94,7 @@ namespace Game.Collision
|
||||
return true;
|
||||
|
||||
Ray r = new(startPos, (endPos - startPos) / maxDist);
|
||||
DynamicTreeIntersectionCallback callback = new(phaseShift);
|
||||
DynamicTreeLosCallback callback = new(phaseShift);
|
||||
impl.IntersectRay(r, callback, ref maxDist, endPos);
|
||||
|
||||
return !callback.DidHit();
|
||||
|
||||
Reference in New Issue
Block a user