summaryrefslogtreecommitdiff
path: root/games/battlestar/com7.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-01 18:13:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-01 18:13:21 +0000
commit380f0870e4aafdd13a6050959648e2e735f2ea56 (patch)
tree973b59d6e1f493c1109524c804f193b62de56759 /games/battlestar/com7.c
parentc5cbec643fb6a50e791eafdc5a04ed929af464e8 (diff)
Remove trailing spaces on lines, use sane pathname sizes, and
use warn instead of perror.
Diffstat (limited to 'games/battlestar/com7.c')
-rw-r--r--games/battlestar/com7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/battlestar/com7.c b/games/battlestar/com7.c
index 74d5c1b91e8..c9d3ca35f0f 100644
--- a/games/battlestar/com7.c
+++ b/games/battlestar/com7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com7.c,v 1.3 1997/08/24 21:55:04 deraadt Exp $ */
+/* $OpenBSD: com7.c,v 1.4 1997/09/01 18:13:14 millert Exp $ */
/* $NetBSD: com7.c,v 1.3 1995/03/21 15:07:12 cgd Exp $ */
/*
@@ -80,7 +80,7 @@ fighton:
hurt = rnd(50)%(WEIGHT-carrying)-card(injuries,NUMOFINJURIES)-encumber - exhaustion;
else if (testbit(inven,KNIFE) || testbit(inven,MALLET) || testbit(inven,CHAIN) || testbit(inven,MACE) || testbit(inven,HALBERD))
hurt = rnd(15) - card(injuries,NUMOFINJURIES) - exhaustion;
- else
+ else
hurt = rnd(7) - encumber;
if (hurt < 5)
switch(rnd(3)){