mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix typo
Second statement should be checking on vecMaxBound.
This commit is contained in:
parent
7232c735ac
commit
4bc4b6f092
@ -569,7 +569,7 @@ bool CAI_Utility::IsTileWithinRange(const dtMeshTile* pTile, const VPlane& vPlan
|
||||
{
|
||||
// Too far from camera, do not render.
|
||||
if (vCamera.DistTo(*vecMinBound) > flCameraRadius ||
|
||||
vCamera.DistTo(*vecMinBound) > flCameraRadius)
|
||||
vCamera.DistTo(*vecMaxBound) > flCameraRadius)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user