Core/Vmaps: Optimize loading vmaps
Port From (https://github.com/TrinityCore/TrinityCore/commit/35a2d49971984bcab96ac64fc52b30a9a4e06ce3)
This commit is contained in:
@@ -78,7 +78,6 @@ namespace Game.Collision
|
||||
return !iModel.IsM2();
|
||||
}
|
||||
|
||||
|
||||
public override bool IntersectRay(Ray ray, ref float maxDist, bool stopAtFirstHit, PhaseShift phaseShift, ModelIgnoreFlags ignoreFlags)
|
||||
{
|
||||
if (!IsCollisionEnabled() || !owner.IsSpawned())
|
||||
|
||||
Reference in New Issue
Block a user