diff options
author | Andreas Haas <Hinsbart@users.noreply.github.com> | 2017-06-03 12:47:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-03 12:47:54 +0200 |
commit | 69bec86028f87307e549d7a2f49bbb7e2b1f3771 (patch) | |
tree | 30316ffea9d6321c6b8292a02b6db3dac9cd1053 /main/tests/test_physics_2d.cpp | |
parent | 5a6d4971e13157cc5f0de199de7f6d257070fc66 (diff) | |
parent | 9bc534896135322a578118f433f0dc6265839082 (diff) |
Merge pull request #9031 from Hinsbart/inputevent_pos
InputEvent: Renamed "pos" property to "position"
Diffstat (limited to 'main/tests/test_physics_2d.cpp')
-rw-r--r-- | main/tests/test_physics_2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/tests/test_physics_2d.cpp b/main/tests/test_physics_2d.cpp index 5f57275503..2c9b51aadb 100644 --- a/main/tests/test_physics_2d.cpp +++ b/main/tests/test_physics_2d.cpp @@ -216,7 +216,7 @@ protected: if (mb->is_pressed()) { - Point2 p(mb->get_pos().x, mb->get_pos().y); + Point2 p(mb->get_position().x, mb->get_position().y); if (mb->get_button_index() == 1) { ray_to = p; @@ -232,7 +232,7 @@ protected: if (mm.is_valid()) { - Point2 p = mm->get_pos(); + Point2 p = mm->get_position(); if (mm->get_button_mask() & BUTTON_MASK_LEFT) { ray_to = p; |