From 71c35972a5403c762e04a68baa9cb2dd28a714fe Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 20 May 2013 20:48:33 -0400 Subject: Move wait() to the end of the game loop. --- (limited to 'src') diff --git a/src/game.c b/src/game.c index aca77ea..cce4497 100644 --- a/src/game.c +++ b/src/game.c @@ -42,10 +42,10 @@ run_game(struct game *g) g->running = 1; while (g->running) { - wait(g); input(g); update(g); draw(g); + wait(g); } } -- cgit v0.9.1