Simplify code

This commit is contained in:
Alayan
2019-01-04 19:20:33 +01:00
parent 4d6be5934e
commit 94a0988a71

View File

@@ -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;
}