tidy-fix automàtic (sense naming)
This commit is contained in:
@@ -17,7 +17,9 @@ namespace KeyRemap {
|
||||
|
||||
void update() {
|
||||
const bool* ks = SDL_GetKeyboardState(nullptr);
|
||||
if (!ks) return;
|
||||
if (ks == nullptr) {
|
||||
return;
|
||||
}
|
||||
mirror(Options::keys_game.up, SDL_SCANCODE_UP, ks);
|
||||
mirror(Options::keys_game.down, SDL_SCANCODE_DOWN, ks);
|
||||
mirror(Options::keys_game.left, SDL_SCANCODE_LEFT, ks);
|
||||
|
||||
Reference in New Issue
Block a user