summaryrefslogtreecommitdiff
path: root/gfx/followCameraController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/followCameraController.cpp')
-rw-r--r--gfx/followCameraController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/followCameraController.cpp b/gfx/followCameraController.cpp
index 4db77cd..25a64e4 100644
--- a/gfx/followCameraController.cpp
+++ b/gfx/followCameraController.cpp
@@ -16,7 +16,7 @@ FollowCameraController::updateCamera(Camera * camera) const
{
const auto [pos, rot] = [this]() {
const auto t {target.lock()};
- return std::tie(t->getLocation().GetPos(), t->getLocation().GetRot());
+ return std::tie(t->location.GetPos(), t->location.GetRot());
}();
switch (mode) {