summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r--src/core/Camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index baf31f04..d94efb03 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -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