Added missing GameObjectModel::iLosBlockingDisabled initialization in constructor

Port From (https://github.com/TrinityCore/TrinityCore/commit/b3763c338d9c1b007b76b0ca94c069bcfbbd8801)
This commit is contained in:
Hondacrx
2024-09-01 16:23:25 -04:00
parent b38508cba7
commit 03e2904f0d
4 changed files with 37 additions and 7 deletions
+1 -1
View File
@@ -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();