comparison mm7_5.cpp @ 390:35a62d1948d4

More sound fixes
author Nomad
date Sat, 23 Feb 2013 08:27:32 +0200
parents e32950ebabb9
children 74205b91647b
comparison
equal deleted inserted replaced
389:e32950ebabb9 390:35a62d1948d4
9585 if ( v1->uActorQueueSize > v2 ) 9585 if ( v1->uActorQueueSize > v2 )
9586 { 9586 {
9587 v8 = v1->pQueue; 9587 v8 = v1->pQueue;
9588 do 9588 do
9589 { 9589 {
9590 if ( (v8->uPackedID & 7) == OBJECT_Actor && ai_array_4F7DB0_actor_ids[v20] == v8->uPackedID >> 3 ) 9590 if ( (v8->uPackedID & 7) == OBJECT_Actor && ai_near_actors_ids[v20] == v8->uPackedID >> 3 )
9591 break; 9591 break;
9592 ++v18; 9592 ++v18;
9593 ++v8; 9593 ++v8;
9594 } 9594 }
9595 while ( v18 < v1->uActorQueueSize ); 9595 while ( v18 < v1->uActorQueueSize );
9596 v2 = 0; 9596 v2 = 0;
9597 } 9597 }
9598 if ( v18 == v1->uActorQueueSize ) 9598 if ( v18 == v1->uActorQueueSize )
9599 { 9599 {
9600 v9 = ai_array_4F7DB0_actor_ids[v20]; 9600 v9 = ai_near_actors_ids[v20];
9601 *(int *)v7 = 1; 9601 *(int *)v7 = 1;
9602 *((int *)v7 + 2) = v2; 9602 *((int *)v7 + 2) = v2;
9603 *((int *)v7 - 1) = 8 * v9 | 3; 9603 *((int *)v7 - 1) = 8 * v9 | 3;
9604 *((int *)v7 + 1) = v2; 9604 *((int *)v7 + 1) = v2;
9605 ++v3; 9605 ++v3;