summaryrefslogtreecommitdiffstats
path: root/sail/dr_3.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-03-14 20:04:43 +0000
committerdholland <dholland@NetBSD.org>2009-03-14 20:04:43 +0000
commit378015332508b48169d5f735be9a4bb4b6c82c03 (patch)
treef8401755021f17a0b5e07d16fd7ab7b379e351da /sail/dr_3.c
parentc9ea3d28669550d93bd8b6ba25a908f58b38683a (diff)
downloadbsdgames-darwin-378015332508b48169d5f735be9a4bb4b6c82c03.tar.gz
bsdgames-darwin-378015332508b48169d5f735be9a4bb4b6c82c03.tar.zst
bsdgames-darwin-378015332508b48169d5f735be9a4bb4b6c82c03.zip
Sprinkle some "bool". And don't use '\0' to mean 'false'.
Diffstat (limited to 'sail/dr_3.c')
-rw-r--r--sail/dr_3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/dr_3.c b/sail/dr_3.c
index 2a66eafe..8d880c34 100644
--- a/sail/dr_3.c
+++ b/sail/dr_3.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dr_3.c,v 1.17 2009/03/14 19:35:13 dholland Exp $ */
+/* $NetBSD: dr_3.c,v 1.18 2009/03/14 20:04:43 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)dr_3.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: dr_3.c,v 1.17 2009/03/14 19:35:13 dholland Exp $");
+__RCSID("$NetBSD: dr_3.c,v 1.18 2009/03/14 20:04:43 dholland Exp $");
#endif
#endif /* not lint */
@@ -64,7 +64,7 @@ moveall(void)
foreachship(sp) {
struct ship *closest;
int ma, ta;
- char af;
+ bool af;
if (sp->file->captain[0] || sp->file->dir == 0)
continue;