diff --git a/src/main.c b/src/main.c index 6cb13a7..1045f8a 100644 --- a/src/main.c +++ b/src/main.c @@ -7,7 +7,8 @@ void draw_then_sleep(struct gfx_state *s, struct gamestate *g) { gfx_draw(s, g); - gfx_sleep(40); + /* Have a fixed time for each turn to animate (160 default) */ + gfx_sleep(160 / g->opts->grid_width); } int main(int argc, char **argv)