diff --git a/drivermouseinput.cpp b/drivermouseinput.cpp index 34e33d6b..6a5ddb29 100644 --- a/drivermouseinput.cpp +++ b/drivermouseinput.cpp @@ -378,7 +378,6 @@ drivermouse_input::button( int const Button, int const Action ) { && control && control->screen_touch_list) { control->screen_touch_list->emplace_back(pos); - return; } auto const controlbindings { bindings( simulation::Train->GetLabel( control ) ) }; diff --git a/vr/openvr_imp.cpp b/vr/openvr_imp.cpp index 18a7485e..1c3ef223 100644 --- a/vr/openvr_imp.cpp +++ b/vr/openvr_imp.cpp @@ -291,7 +291,6 @@ texture_done: if (control != nullptr) { if (control->screen_touch_list) { control->screen_touch_list->emplace_back(pos); - return; } auto it = m_buttonbindings.find(simulation::Train->GetLabel(control));