mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
add selected shape drawing
This commit is contained in:
@@ -51,7 +51,7 @@ static void update_input(GameData* game_data, const uint8_t* keys) {
|
||||
game_data->selected.x--;
|
||||
|
||||
if (keys[SDL_SCANCODE_RIGHT] || keys[SDL_SCANCODE_D])
|
||||
game_data->selected.y++;
|
||||
game_data->selected.x++;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user