Small change to animating rows

This commit is contained in:
Tiehuis 2015-02-25 15:14:15 +13:00
parent 160b6ce7ac
commit c0d4b6de3e

View File

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