summaryrefslogtreecommitdiffstats
path: root/sail/dr_2.c
diff options
context:
space:
mode:
authorjwise <jwise@NetBSD.org>2000-11-30 22:02:20 +0000
committerjwise <jwise@NetBSD.org>2000-11-30 22:02:20 +0000
commit57a75ab7b9a0f4999cae7c0fa5acb46f230f38f2 (patch)
tree3bc754d092f41e7b5667b0fa6271416284ab03db /sail/dr_2.c
parent104808840672ea22714fd8cedb51ead07e21a3c5 (diff)
downloadbsdgames-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_2.c')
-rw-r--r--sail/dr_2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/dr_2.c b/sail/dr_2.c
index ad0a5e4d..13366a98 100644
--- a/sail/dr_2.c
+++ b/sail/dr_2.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dr_2.c,v 1.11 1999/09/30 18:01:33 jsm Exp $ */
+/* $NetBSD: dr_2.c,v 1.12 2000/11/30 22:02:20 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)dr_2.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: dr_2.c,v 1.11 1999/09/30 18:01:33 jsm Exp $");
+__RCSID("$NetBSD: dr_2.c,v 1.12 2000/11/30 22:02:20 jwise Exp $");
#endif
#endif /* not lint */
@@ -91,7 +91,7 @@ checkup()
sink = sp->file->sink;
if (explode != 1 && sink != 1)
continue;
- if (die() < 5)
+ if (dieroll() < 5)
continue;
Write(sink == 1 ? W_SINK : W_EXPLODE, sp, 2, 0, 0, 0);
Write(W_DIR, sp, 0, 0, 0, 0);