diff --git a/ball.c b/ball.c index a12a486..c279d6d 100644 --- a/ball.c +++ b/ball.c @@ -111,7 +111,7 @@ void move_balls(FIELD* f) { for (int i = 0; i < f -> ball_count; i++) { BALL* b = f -> balls[i]; b -> move_tick += (b -> value * b -> value); - if (b -> move_tick > 17) { + if (b -> move_tick > 15) { b -> move_tick = 0; move_ball(f, i); } diff --git a/game.c b/game.c index 6ebaa5b..ae4690b 100644 --- a/game.c +++ b/game.c @@ -51,7 +51,7 @@ void play_game(GAME_STATE* state) { fd_set inputs, test_fds; struct timeval timeout; timeout.tv_sec = 0; - timeout.tv_usec = 50000; + timeout.tv_usec = 56667; FD_ZERO(&inputs); FD_SET(0, &inputs);