From e14203bdd2e983c0d86c7c72b5ce99aeb27fe355 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 15 Feb 2021 19:27:40 +0000 Subject: Return a Physical's whole location, not just position --- game/physical.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game/physical.h') diff --git a/game/physical.h b/game/physical.h index 4ad8a49..5fdc253 100644 --- a/game/physical.h +++ b/game/physical.h @@ -19,9 +19,9 @@ public: void render(const Shader & shader) const override; [[nodiscard]] const auto & - getPosition() const + getLocation() const { - return location.GetPos(); + return location; } protected: -- cgit v1.2.3