summaryrefslogtreecommitdiffstats
path: root/trek
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-24 20:43:09 +0000
committerdholland <dholland@NetBSD.org>2009-05-24 20:43:09 +0000
commit4ae8fc90b11f51c654ce09c6a9bb74c163f33076 (patch)
tree52ac01cc362b1f7468365de94e009045c752c361 /trek
parentd1e529ba0fda11f991642459e66a3805a1bb06ae (diff)
downloadbsdgames-darwin-4ae8fc90b11f51c654ce09c6a9bb74c163f33076.tar.gz
bsdgames-darwin-4ae8fc90b11f51c654ce09c6a9bb74c163f33076.tar.zst
bsdgames-darwin-4ae8fc90b11f51c654ce09c6a9bb74c163f33076.zip
whitespace
Diffstat (limited to 'trek')
-rw-r--r--trek/torped.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/trek/torped.c b/trek/torped.c
index 3e1b3853..db22cafe 100644
--- a/trek/torped.c
+++ b/trek/torped.c
@@ -1,4 +1,4 @@
-/* $NetBSD: torped.c,v 1.10 2009/05/24 19:18:44 dholland Exp $ */
+/* $NetBSD: torped.c,v 1.11 2009/05/24 20:43:09 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)torped.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: torped.c,v 1.10 2009/05/24 19:18:44 dholland Exp $");
+__RCSID("$NetBSD: torped.c,v 1.11 2009/05/24 20:43:09 dholland Exp $");
#endif
#endif /* not lint */
@@ -170,7 +170,7 @@ torped(int v __unused)
{
case EMPTY:
continue;
-
+
case HOLE:
printf("Torpedo disappears into a black hole\n");
break;
@@ -191,19 +191,20 @@ torped(int v __unused)
break;
}
break;
-
+
case STAR:
nova(ix, iy);
break;
-
+
case INHABIT:
kills(ix, iy, -1);
break;
-
+
case BASE:
killb(Ship.quadx, Ship.quady);
Game.killb += 1;
break;
+
default:
printf("Unknown object %c at %d,%d destroyed\n",
Sect[ix][iy], ix, iy);