aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-18 21:23:10 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-18 21:23:10 +0100
commitc955e216babe8ea1942ca6dd948b4a9daaa07c57 (patch)
tree12ef479c8564791fdbd86eb14faeb357beaecc2f
parente20263f4c6b4c354baa301b21a6ac1fb0a7d5848 (diff)
removed empty if statement
-rw-r--r--src/crepe/system/InputSystem.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/crepe/system/InputSystem.cpp b/src/crepe/system/InputSystem.cpp
index 2d21572..fee664c 100644
--- a/src/crepe/system/InputSystem.cpp
+++ b/src/crepe/system/InputSystem.cpp
@@ -166,8 +166,6 @@ void InputSystem::handle_move(const EventData & event_data, const vec2 & mouse_p
= mgr.get_components_by_id<Transform>(button.game_object_id).front();
Transform & cam_transform
= mgr.get_components_by_id<Transform>(current_cam.game_object_id).front();
- if (!button.world_space) {
- }
bool was_hovering = button.hover;
if (this->is_mouse_inside_button(mouse_pos, button, transform, cam_transform)) {