summaryrefslogtreecommitdiff
path: root/games/trek/attack.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2002-07-26 20:14:40 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2002-07-26 20:14:40 +0000
commit1463eef96abcc4ff422e7e6898f5fa52ffd6344c (patch)
treec9368352c2733da0034acf3c44997a1f90497a0e /games/trek/attack.c
parent0ef22c4a63ab7cb498523bb818ba746062a1417f (diff)
\a rather than embedded ^G
Diffstat (limited to 'games/trek/attack.c')
-rw-r--r--games/trek/attack.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/trek/attack.c b/games/trek/attack.c
index 2c97e2eca88..38412eef28d 100644
--- a/games/trek/attack.c
+++ b/games/trek/attack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: attack.c,v 1.3 2002/05/31 04:21:30 pjanzen Exp $ */
+/* $OpenBSD: attack.c,v 1.4 2002/07/26 20:14:39 pjanzen Exp $ */
/* $NetBSD: attack.c,v 1.3 1995/04/22 10:58:26 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)attack.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: attack.c,v 1.3 2002/05/31 04:21:30 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: attack.c,v 1.4 2002/07/26 20:14:39 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -139,7 +139,7 @@ attack(resting)
Ship.shield -= shldabsb;
}
/* actually do the hit */
- printf("HIT: %d units", hit);
+ printf("\aHIT: %d units", hit);
if (!damaged(SRSCAN))
printf(" from %d,%d", Etc.klingon[i].x, Etc.klingon[i].y);
cas = (shldabsb * 100) / hit;
@@ -156,7 +156,7 @@ attack(resting)
/* see if damages occurred */
if (hit >= (15 - Game.skill) * (25 - ranf(12)))
{
- printf("CRITICAL HIT!!!\n");
+ printf("\aCRITICAL HIT!!!\a\n");
/* select a device from probability vector */
cas = ranf(1000);
for (l = 0; cas >= 0; l++)