summaryrefslogtreecommitdiffstats
path: root/trek/impulse.c
diff options
context:
space:
mode:
Diffstat (limited to 'trek/impulse.c')
-rw-r--r--trek/impulse.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/trek/impulse.c b/trek/impulse.c
index 50be22b9..b1491d0a 100644
--- a/trek/impulse.c
+++ b/trek/impulse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: impulse.c,v 1.8 2009/05/24 19:18:44 dholland Exp $ */
+/* $NetBSD: impulse.c,v 1.9 2009/05/24 21:44:56 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)impulse.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: impulse.c,v 1.8 2009/05/24 19:18:44 dholland Exp $");
+__RCSID("$NetBSD: impulse.c,v 1.9 2009/05/24 21:44:56 dholland Exp $");
#endif
#endif /* not lint */
@@ -67,8 +67,7 @@ impulse(int v __unused)
return;
power = 20 + 100 * dist;
percent = 100 * power / Ship.energy + 0.5;
- if (percent >= 85)
- {
+ if (percent >= 85) {
printf("Scotty: That would consume %d%% of our remaining energy.\n",
percent);
if (!getynpar("Are you sure that is wise"))
@@ -77,8 +76,7 @@ impulse(int v __unused)
}
time = dist / 0.095;
percent = 100 * time / Now.time + 0.5;
- if (percent >= 85)
- {
+ if (percent >= 85) {
printf("Spock: That would take %d%% of our remaining time.\n",
percent);
if (!getynpar("Are you sure that is wise"))