changeset 54:61e6ea6dbd77

*** empty log message ***
author gongo
date Wed, 08 Nov 2006 07:39:57 +0000
parents a233027e895c
children 8cef655f3bf9
files linda.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/linda.c	Wed Nov 08 07:19:26 2006 +0000
+++ b/linda.c	Wed Nov 08 07:39:57 2006 +0000
@@ -357,7 +357,8 @@
     ps2_vu0_copy_matrix(data, game.jiki->body->transfer);
     ps2_vu0_copy_vector(data[3], game.jiki->location);
 
-    send_packet(2, MODE_MAIN, 1, 1, (char*)game.jiki->body->transfer);
+    linda_seq[game.play_id] = psx_in(game.play_id);
+    send_packet(game.play_id, MODE_MAIN, 1, 1, (char*)data);
     return FALSE;
 }
 
@@ -369,7 +370,7 @@
 
     ps2_vu0_unit_matrix(po);
 
-    get_packet(PLAYER_1P, NULL, &mode, NULL, NULL, (char*)po);
+    get_packet(PLAYER_1P, NULL, &mode, NULL, NULL, (char*)&po);
 
     if (mode == MODE_MAIN) {
 	ps2_vu0_copy_matrix(game.jiki->body->transfer, po);