From 94a0988a719eb3da7a29959464e8ef4bd15e7b1e Mon Sep 17 00:00:00 2001 From: Alayan Date: Fri, 4 Jan 2019 19:20:33 +0100 Subject: [PATCH] Simplify code --- src/input/input_manager.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index 2a4bb1493..e0c9c5d34 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -838,10 +838,6 @@ void InputManager::dispatchInput(Input::InputType type, int deviceID, cam->setKart(World::getWorld()->getKart(current_idx)); break; } - - // This can happen if there is only one active kart - if (current_idx == cam->getKart()->getWorldKartId()) - break; } return; }