changeset 48:21178806ad26

*** empty log message ***
author gongo
date Wed, 08 Nov 2006 06:25:29 +0000
parents d7e0a5c33540
children 30fe49501a99
files linda.c
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/linda.c	Wed Nov 08 06:17:21 2006 +0000
+++ b/linda.c	Wed Nov 08 06:25:29 2006 +0000
@@ -564,10 +564,12 @@
     }
     psx_sync_n();
 
-    if (my_id == PLAYER_1P)
-	linda_set_schedule(linda_sche_wait0, MODE_WAIT);
-    else
-	linda_set_schedule(linda_sche_wait1, MODE_WAIT);
-
+    if (my_id == PLAYER_1P) {
+	game.linda_exec = &linda_sche_wait0;
+	send_packet(game.play_id, MODE_WAIT, 1, 1, NULL);
+    } else {
+	game.linda_exec = &linda_sche_wait1;
+	send_packet(game.play_id, MODE_WAIT, 1, 1, NULL);
+    }
     return my_id;
 }