Fix IsSphereVisible calls

This commit is contained in:
Sergeanur 2021-06-05 13:00:45 +03:00
parent 29d47da61e
commit 1558788df1
3 changed files with 11 additions and 11 deletions

View file

@ -4103,7 +4103,7 @@ CCamera::IsSphereVisible(const CVector &center, float radius, const CMatrix *mat
bool
CCamera::IsSphereVisible(const CVector &center, float radius)
{
return IsSphereVisible(center, radius, &m_cameraMatrix);
return IsSphereVisible(center, radius, &GetCameraMatrix());
}
bool