Varios arreglos
This commit is contained in:
@@ -36,7 +36,7 @@ void DefineButtons::render()
|
||||
}
|
||||
|
||||
// Comprueba el botón que se ha pulsado
|
||||
void DefineButtons::doControllerButtonDown(SDL_ControllerButtonEvent &event)
|
||||
void DefineButtons::doControllerButtonDown(const SDL_ControllerButtonEvent &event)
|
||||
{
|
||||
// Solo pilla botones del mando que toca
|
||||
if (input_->getJoyIndex(event.which) != static_cast<int>(index_controller_))
|
||||
@@ -124,8 +124,6 @@ void DefineButtons::incIndexButton()
|
||||
saveBindingsToOptions();
|
||||
|
||||
// Deshabilita
|
||||
//index_controller_ = 0;
|
||||
//index_button_ = 0;
|
||||
enabled_ = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user