Fix IsSphereVisible calls

This commit is contained in:
Sergeanur
2021-06-05 13:00:45 +03:00
parent 93e9929925
commit f2c8522daa
3 changed files with 11 additions and 11 deletions

View File

@ -4101,7 +4101,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