diff options
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/followCameraController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/followCameraController.cpp b/gfx/followCameraController.cpp index e8a95b3..9e32e21 100644 --- a/gfx/followCameraController.cpp +++ b/gfx/followCameraController.cpp @@ -15,7 +15,7 @@ FollowCameraController::updateCamera(Camera * camera) const { const auto [pos, rot] = [this]() { const auto t {target.lock()}; - return std::tie(t->location.pos, t->location.rot); + return std::tie(t->getLocation().pos, t->getLocation().rot); }(); switch (mode) { |