# HG changeset patch # User gongo # Date 1163062093 0 # Node ID 8016a4ad065be5ff86b9fba5f5f0c2d9c9a8222c # Parent 3ab2b0980fba5f89f947a0fb35eb1eb00805c852 *** empty log message *** diff -r 3ab2b0980fba -r 8016a4ad065b linda.c --- a/linda.c Thu Nov 09 08:34:16 2006 +0000 +++ b/linda.c Thu Nov 09 08:48:13 2006 +0000 @@ -115,7 +115,7 @@ static void linda_set_schedule(void *func, int mode) { - linda_seq[game.play_id] = psx_in(game.play_id); + //linda_seq[game.play_id] = psx_in(game.play_id); sche_func = func; send_packet(game.play_id, mode, game.car_id, game.course_id, NULL); } @@ -124,13 +124,14 @@ linda_sche_wait0(int p) { int i, flg=0; + int mode = 0; int id = game.play_id; int connect = 1; // 接続済みユーザ数 for (i=1; i<=CLIENT_MAX; i++) { if (i == id) continue; - get_packet(i, &flg, NULL, NULL, NULL, NULL); - if (flg == 1) { + get_packet(i, &flg, &mode, NULL, NULL, NULL); + if (flg == 1 && mode = MODE_WAIT) { connect++; flg = 0; }