diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-20 20:48:33 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-20 20:48:33 (EDT) |
commit | 71c35972a5403c762e04a68baa9cb2dd28a714fe (patch) | |
tree | 4df9ad1d65fe9aebacc671e1585de3c50011940e /src | |
parent | 408ffe89abe0f561354222b0b130321dcc7d14e9 (diff) | |
download | cursespong-71c35972a5403c762e04a68baa9cb2dd28a714fe.zip cursespong-71c35972a5403c762e04a68baa9cb2dd28a714fe.tar.gz cursespong-71c35972a5403c762e04a68baa9cb2dd28a714fe.tar.bz2 |
Move wait() to the end of the game loop.
Diffstat (limited to 'src')
-rw-r--r-- | src/game.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |