Mercurial > hg > old > magoroku_racing
changeset 86:d81acc75c4c2
*** empty log message ***
author | gongo |
---|---|
date | Fri, 10 Nov 2006 00:04:51 +0000 |
parents | 757d4e468a2b |
children | 4e56707af2cb |
files | linda.c |
diffstat | 1 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/linda.c Thu Nov 09 23:52:55 2006 +0000 +++ b/linda.c Fri Nov 10 00:04:51 2006 +0000 @@ -476,7 +476,6 @@ send_packet(i, MODE_MAIN, 0, 0, (char*)po); } else { enemy = linda_carlist[i]; - get_packet(i, NULL, &mode, NULL, NULL, (char*)po); if (flg == 1 && mode == MODE_MAIN) { ps2_vu0_copy_matrix(enemy->body->transfer, po); enemy->body->transfer[3][0] -= mycar->location[0]; @@ -486,6 +485,18 @@ } } } + + if (p == 1 && connect == CLIENT_MAX) { + if (id == PLAYER_1P) + linda_set_schedule(linda_sche_main_ready0, MODE_MAIN_READY); + else + linda_set_schedule(linda_sche_main_ready1, MODE_MAIN_READY); + return TRUE; + } else { + return FALSE; + } + + return FALSE; }