summaryrefslogtreecommitdiffstats
path: root/trek/dumpme.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-24 21:44:56 +0000
committerdholland <dholland@NetBSD.org>2009-05-24 21:44:56 +0000
commit927a087250c6d788d6df6cc7fcb0359653e2efd3 (patch)
treee1bd8e6ccde5d2a67885bac40ac518b2a855e3f4 /trek/dumpme.c
parent4ae8fc90b11f51c654ce09c6a9bb74c163f33076 (diff)
downloadbsdgames-darwin-927a087250c6d788d6df6cc7fcb0359653e2efd3.tar.gz
bsdgames-darwin-927a087250c6d788d6df6cc7fcb0359653e2efd3.tar.zst
bsdgames-darwin-927a087250c6d788d6df6cc7fcb0359653e2efd3.zip
KNF: brace and comment placement. Object files identical.
Diffstat (limited to 'trek/dumpme.c')
-rw-r--r--trek/dumpme.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/trek/dumpme.c b/trek/dumpme.c
index e777dfe1..d723d4d4 100644
--- a/trek/dumpme.c
+++ b/trek/dumpme.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dumpme.c,v 1.6 2009/05/24 19:18:44 dholland Exp $ */
+/* $NetBSD: dumpme.c,v 1.7 2009/05/24 21:44:56 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)dumpme.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: dumpme.c,v 1.6 2009/05/24 19:18:44 dholland Exp $");
+__RCSID("$NetBSD: dumpme.c,v 1.7 2009/05/24 21:44:56 dholland Exp $");
#endif
#endif /* not lint */
@@ -68,18 +68,14 @@ dumpme(int flag)
Ship.secty = ranf(NSECTS);
x = 1.5 * franf();
Move.time += x;
- if (f)
- {
+ if (f) {
printf("%s falls into a black hole.\n", Ship.shipname);
- }
- else
- {
+ } else {
printf("Computer applies full reverse power to avoid hitting the\n");
printf(" negative energy barrier. A space warp was entered.\n");
}
/* bump repair dates forward */
- for (i = 0; i < MAXEVENTS; i++)
- {
+ for (i = 0; i < MAXEVENTS; i++) {
e = &Event[i];
if (e->evcode != E_FIXDV)
continue;