summaryrefslogtreecommitdiffstats
path: root/mbbsd/othello.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/othello.c')
-rw-r--r--mbbsd/othello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/othello.c b/mbbsd/othello.c
index 7f4b77b2..3392ca02 100644
--- a/mbbsd/othello.c
+++ b/mbbsd/othello.c
@@ -533,7 +533,7 @@ othello_main()
think = choose();
showtitle("黑白棋", BBSName);
printboard();
- which_table = rand() % NR_TABLE;
+ which_table = random() % NR_TABLE;
while (true) {
move(STARTX - 1, 30);
outs("輪到你下了...");