summaryrefslogtreecommitdiffstats
path: root/sail/dr_4.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-03-14 19:35:13 +0000
committerdholland <dholland@NetBSD.org>2009-03-14 19:35:13 +0000
commitfdc664b7bf17e7162301f1d0354f0094af2b08e5 (patch)
treed888f0121027af737b66f6d4abb9d3ef9f3abbaa /sail/dr_4.c
parent458c440612e1d5d8ad36c7d3ab6f4a0a9e99aa93 (diff)
downloadbsdgames-darwin-fdc664b7bf17e7162301f1d0354f0094af2b08e5.tar.gz
bsdgames-darwin-fdc664b7bf17e7162301f1d0354f0094af2b08e5.tar.zst
bsdgames-darwin-fdc664b7bf17e7162301f1d0354f0094af2b08e5.zip
Lines <= 80 chars, remove trailing whitespace, other formatting adjustments.
No functional change.
Diffstat (limited to 'sail/dr_4.c')
-rw-r--r--sail/dr_4.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sail/dr_4.c b/sail/dr_4.c
index ba17bfd8..347ca86b 100644
--- a/sail/dr_4.c
+++ b/sail/dr_4.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dr_4.c,v 1.13 2003/08/07 09:37:42 agc Exp $ */
+/* $NetBSD: dr_4.c,v 1.14 2009/03/14 19:35:13 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)dr_4.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: dr_4.c,v 1.13 2003/08/07 09:37:42 agc Exp $");
+__RCSID("$NetBSD: dr_4.c,v 1.14 2009/03/14 19:35:13 dholland Exp $");
#endif
#endif /* not lint */
@@ -61,7 +61,8 @@ ungrap(struct ship *from, struct ship *to)
void
grap(struct ship *from, struct ship *to)
{
- if (capship(from)->nationality != capship(to)->nationality && dieroll() > 2)
+ if (capship(from)->nationality != capship(to)->nationality &&
+ dieroll() > 2)
return;
Write(W_GRAP, from, to->file->index, 0, 0, 0);
Write(W_GRAP, to, from->file->index, 0, 0, 0);