From 35c5bce34424ce18deff18f17ba35128e9cae1fe Mon Sep 17 00:00:00 2001 From: Benlitz Date: Sat, 14 Sep 2013 19:22:48 +0000 Subject: [PATCH] orbital: upgraded to the new input system and fixed compilation. NOT WORKING since InputGame() is not currently being called by the engine. --- src/input/controller.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); }