summaryrefslogtreecommitdiffstats
path: root/mbbsd/dark.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/dark.c')
-rw-r--r--mbbsd/dark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/dark.c b/mbbsd/dark.c
index 1942aa86..e7d644cd 100644
--- a/mbbsd/dark.c
+++ b/mbbsd/dark.c
@@ -108,7 +108,7 @@ brd_rand()
for (y = 0; y < 4; y++)
for (x = 0; x < 8; x++)
while (1) {
- index = rand() % 32;
+ index = random() % 32;
if (tem[index])
continue;
brd[y][x].color = (index > 15) ? 0 : 1;