diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-01-07 22:37:37 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-03-23 07:13:23 -0400 |
commit | 10d7fccb549a743a867b92f12a6d64717c45ba86 (patch) | |
tree | 0c47e1be7e724c88f018f7f5f427c10c4006c6fd /tests | |
parent | 70eff30c5f5f4f54a9c0ed4d65d7a664e45f38ea (diff) |
Rename ButtonList enum and members to MouseButton
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_physics_2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_physics_2d.cpp b/tests/test_physics_2d.cpp index 570e1897d6..047697e314 100644 --- a/tests/test_physics_2d.cpp +++ b/tests/test_physics_2d.cpp @@ -216,10 +216,10 @@ protected: if (mm.is_valid()) { Point2 p = mm->get_position(); - if (mm->get_button_mask() & BUTTON_MASK_LEFT) { + if (mm->get_button_mask() & MOUSE_BUTTON_MASK_LEFT) { ray_to = p; _do_ray_query(); - } else if (mm->get_button_mask() & BUTTON_MASK_RIGHT) { + } else if (mm->get_button_mask() & MOUSE_BUTTON_MASK_RIGHT) { ray_from = p; _do_ray_query(); } |