summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 35d4ea7d..987efe04 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -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