summaryrefslogtreecommitdiffstats
path: root/trek/score.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-24 22:55:03 +0000
committerdholland <dholland@NetBSD.org>2009-05-24 22:55:03 +0000
commit04b8b3500b4c9df35ceefed6fdc1f8dfa9560447 (patch)
tree2191a382af7496c4fec957e0b28c002becc177aa /trek/score.c
parent9abf00d9b32a3a985614d8f734b52090bed2e3b7 (diff)
downloadbsdgames-darwin-04b8b3500b4c9df35ceefed6fdc1f8dfa9560447.tar.gz
bsdgames-darwin-04b8b3500b4c9df35ceefed6fdc1f8dfa9560447.tar.zst
bsdgames-darwin-04b8b3500b4c9df35ceefed6fdc1f8dfa9560447.zip
Split up lines > 80 chars. Object files unchanged.
Diffstat (limited to 'trek/score.c')
-rw-r--r--trek/score.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/trek/score.c b/trek/score.c
index c19c7cbc..eff3f8d8 100644
--- a/trek/score.c
+++ b/trek/score.c
@@ -1,4 +1,4 @@
-/* $NetBSD: score.c,v 1.7 2009/05/24 21:44:56 dholland Exp $ */
+/* $NetBSD: score.c,v 1.8 2009/05/24 22:55:03 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: score.c,v 1.7 2009/05/24 21:44:56 dholland Exp $");
+__RCSID("$NetBSD: score.c,v 1.8 2009/05/24 22:55:03 dholland Exp $");
#endif
#endif /* not lint */
@@ -69,10 +69,12 @@ score(void)
r /= Game.killk + 1;
s += (t = -400 * r);
if (t != 0)
- printf("Penalty for %d klingons remaining\t%6d\n", Now.klings, t);
+ printf("Penalty for %d klingons remaining\t%6d\n", Now.klings,
+ t);
if (Move.endgame > 0) {
s += (t = 100 * (u = Game.skill));
- printf("Bonus for winning a %s%s game\t\t%6d\n", Skitab[u - 1].abrev, Skitab[u - 1].full, t);
+ printf("Bonus for winning a %s%s game\t\t%6d\n",
+ Skitab[u - 1].abrev, Skitab[u - 1].full, t);
}
if (Game.killed) {
s -= 500;