diff options
author | jwise <jwise@NetBSD.org> | 2000-11-30 22:02:20 +0000 |
---|---|---|
committer | jwise <jwise@NetBSD.org> | 2000-11-30 22:02:20 +0000 |
commit | 57a75ab7b9a0f4999cae7c0fa5acb46f230f38f2 (patch) | |
tree | 3bc754d092f41e7b5667b0fa6271416284ab03db /sail/dr_3.c | |
parent | 104808840672ea22714fd8cedb51ead07e21a3c5 (diff) | |
download | bsdgames-darwin-57a75ab7b9a0f4999cae7c0fa5acb46f230f38f2.tar.gz bsdgames-darwin-57a75ab7b9a0f4999cae7c0fa5acb46f230f38f2.tar.zst bsdgames-darwin-57a75ab7b9a0f4999cae7c0fa5acb46f230f38f2.zip |
Change the macro to roll a six-sided die from die() to dieroll() (for
obvious reasons of convention).
Diffstat (limited to 'sail/dr_3.c')
-rw-r--r-- | sail/dr_3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/dr_3.c b/sail/dr_3.c index 77a83ede..a1e893b6 100644 --- a/sail/dr_3.c +++ b/sail/dr_3.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_3.c,v 1.7 1999/09/30 18:01:33 jsm Exp $ */ +/* $NetBSD: dr_3.c,v 1.8 2000/11/30 22:02:20 jwise Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_3.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dr_3.c,v 1.7 1999/09/30 18:01:33 jsm Exp $"); +__RCSID("$NetBSD: dr_3.c,v 1.8 2000/11/30 22:02:20 jwise Exp $"); #endif #endif /* not lint */ @@ -135,7 +135,7 @@ moveall() /* move all comp ships */ snap++; if (!range(sp, sq) && !fouled2(sp, sq)) { makesignal(sp, "collision with $$", sq); - if (die() < 4) { + if (dieroll() < 4) { makesignal(sp, "fouled with $$", sq); Write(W_FOUL, sp, l, 0, 0, 0); |