From c955e216babe8ea1942ca6dd948b4a9daaa07c57 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 18 Dec 2024 21:23:10 +0100 Subject: removed empty if statement --- src/crepe/system/InputSystem.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/crepe/system') 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(button.game_object_id).front(); Transform & cam_transform = mgr.get_components_by_id(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)) { -- cgit v1.2.3