summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-20 21:23:08 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-20 21:23:08 (EDT)
commitf750dfefed277f1c351ea8a61c56a2ea168430b1 (patch)
tree10630bfc17c7ae9f8645e84806e05160bf6b5334
parent4e2017ea1cb01ce02d65f67cd0fb373f4951a6ab (diff)
downloadcursespong-f750dfefed277f1c351ea8a61c56a2ea168430b1.zip
cursespong-f750dfefed277f1c351ea8a61c56a2ea168430b1.tar.gz
cursespong-f750dfefed277f1c351ea8a61c56a2ea168430b1.tar.bz2
Don't set the running flag in wait().
-rw-r--r--src/game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index 7eb4712..8342166 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,7 +53,7 @@ run_game(struct game *g)
static void
wait(struct game *g)
{
- g->running = 1;
+ ++g;
usleep(10000);
}