diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gameMainSelector.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/gameMainSelector.cpp b/ui/gameMainSelector.cpp index 635dce0..5011767 100644 --- a/ui/gameMainSelector.cpp +++ b/ui/gameMainSelector.cpp @@ -48,9 +48,7 @@ GameMainSelector::handleInput(const SDL_Event & e, const Position &) const auto mouse = glm::vec2 {e.motion.x, e.motion.y} / position.size; const auto ray = camera->unProject(mouse); - if (target) { - target->move(ray); - } + target->move(ray); return true; } break; |