diff --git a/src/input/controller.cpp b/src/input/controller.cpp index 9a8b6b03..f3cd07f0 100644 --- a/src/input/controller.cpp +++ b/src/input/controller.cpp @@ -148,10 +148,10 @@ Controller::Controller(char const* name, int nb_keys, int nb_axis) m_activate_nextframe = false; m_deactivate_nextframe = false; m_active = false; - if (Get(name) != nullptr) - { - Log::Warn("a controller with this name has already been registered"); - } + if (Get(name) != nullptr) + { + Log::Warn("a controller with this name has already been registered"); + } controllers.Push(this); }