Pārlūkot izejas kodu

orbital: upgraded to the new input system and fixed compilation. NOT WORKING since InputGame() is not currently being called by the engine.

undefined
Benlitz Sam Hocevar <sam@hocevar.net> pirms 11 gadiem
vecāks
revīzija
35c5bce344
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +4
    -4
      src/input/controller.cpp

+ 4
- 4
src/input/controller.cpp Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt