made yellow ball actually faster than blue ball

master
NetherEran 2020-09-10 12:16:00 +02:00
parent beb46efaea
commit 82e19e075c
2 changed files with 2 additions and 2 deletions

2
ball.c
View File

@ -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);
}

2
game.c
View File

@ -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);