diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-15 19:27:40 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-15 19:27:40 +0000 |
commit | e14203bdd2e983c0d86c7c72b5ce99aeb27fe355 (patch) | |
tree | a92b04bf289b884c2e6873b1c820a14ef4eccf0b /game/physical.h | |
parent | Basic support for rail wagons (diff) | |
download | ilt-e14203bdd2e983c0d86c7c72b5ce99aeb27fe355.tar.bz2 ilt-e14203bdd2e983c0d86c7c72b5ce99aeb27fe355.tar.xz ilt-e14203bdd2e983c0d86c7c72b5ce99aeb27fe355.zip |
Return a Physical's whole location, not just position
Diffstat (limited to 'game/physical.h')
-rw-r--r-- | game/physical.h | 4 |
1 files changed, 2 insertions, 2 deletions
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: |