summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-10-28 07:37:57 +0000
committeralex <alex@FreeBSD.org>2000-10-28 07:37:57 +0000
commita09af496027dfef5ceff380741a63b579190b46c (patch)
tree6bdbd0e938b1e59cef91436c7c8c90d6a6f2837a /games
parent430258152b8601480680cc4d82944ed03c5904de (diff)
downloadFreeBSD-src-a09af496027dfef5ceff380741a63b579190b46c.zip
FreeBSD-src-a09af496027dfef5ceff380741a63b579190b46c.tar.gz
Make the -d option actually work.
Today fast terminals are usually the default. PR: 21634 Submitted by: Eric S. Van Gyzen <eric@vangyzen.net>
Diffstat (limited to 'games')
-rw-r--r--games/worms/worms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/worms/worms.c b/games/worms/worms.c
index 39c5511..ed50e37 100644
--- a/games/worms/worms.c
+++ b/games/worms/worms.c
@@ -328,6 +328,8 @@ main(argc, argv)
flavor[n % sizeof(flavor)]);
ref[w->ypos[h] = y][w->xpos[h] = x]++;
}
+ if (usleep(delay))
+ onsig(SIGTERM);
}
}
OpenPOWER on IntegriCloud