diff --git a/utils.c b/utils.c index 67db110..cc26719 100644 --- a/utils.c +++ b/utils.c @@ -212,7 +212,11 @@ short can_move(struct barrel *bar, char robot_id) { } #ifndef EMULATOR - approximate_time *= 4; + if (approximate_time > 1) { + approximate_time = ((approximate_time - 1) * 3) + 6; + } else if (approximate_time == 1) { + approximate_time = 8; + } #endif if (bar->software_timer > -approximate_time) {