INPUT_USE_* → enum class Input::Device
This commit is contained in:
@@ -70,7 +70,7 @@ Game::Game(int num_players, int current_stage, SDL_Renderer *renderer, bool demo
|
||||
#endif
|
||||
if (num_players == 1) { // Si solo juega un jugador, permite jugar tanto con teclado como con mando
|
||||
player_one_control_ = Options::inputs[0].device_type;
|
||||
Options::inputs[0].device_type = INPUT_USE_ANY;
|
||||
Options::inputs[0].device_type = Input::Device::ANY;
|
||||
}
|
||||
difficulty_ = Options::settings.difficulty;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user