Mercurial > hg > old > magoroku_racing.bad
changeset 73:0c0e21cd63cd
*** empty log message ***
author | gongo |
---|---|
date | Thu, 09 Nov 2006 04:40:55 +0000 |
parents | 00430c172e5b |
children | ec6563ccd5f4 |
files | linda.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/linda.c Thu Nov 09 04:37:34 2006 +0000 +++ b/linda.c Thu Nov 09 04:40:55 2006 +0000 @@ -459,13 +459,17 @@ { int mode; FMATRIX po; - + CarPtr enemy = linda_carlist[PLAYER_1P]; ps2_vu0_unit_matrix(po); get_packet(PLAYER_1P, NULL, &mode, NULL, NULL, (char*)po); if (mode == MODE_MAIN) { - ps2_vu0_copy_matrix(linda_carlist[PLAYER_1P]->body->transfer, po); + ps2_vu0_copy_matrix(enemy->body->transfer, po); + enemy->body->transfer[3][0] -= game.jiki->location[0]; + enemy->body->transfer[3][1] -= game.jiki->location[1]; + enemy->body->transfer[3][2] -= game.jiki->location[2]; + enemy->body->transfer[3][3] = 1; } return FALSE; @@ -474,7 +478,6 @@ Bool linda_update(int p) { - printf("%d\n", (int)sche_func); return sche_func(p); }