comparison mm7_3.cpp @ 1112:4994eb3947ae

condition refactoring fix
author Grumpy7
date Mon, 27 May 2013 23:29:39 +0200
parents cf6cd674c398
children 39eaa6b00141
comparison
equal deleted inserted replaced
1111:044d65e41250 1112:4994eb3947ae
15432 if ( v37 != 10 ) 15432 if ( v37 != 10 )
15433 { 15433 {
15434 if ( pActors[v37].CanAct() ) 15434 if ( pActors[v37].CanAct() )
15435 { 15435 {
15436 v7 = pActor->uAttributes; 15436 v7 = pActor->uAttributes;
15437 if ( v7 & 0x8000 < 0 ) 15437 if ( v7 & 0x8000 )
15438 { 15438 {
15439 v8 = ai_near_actors_targets_pid[v5]; 15439 v8 = ai_near_actors_targets_pid[v5];
15440 LOBYTE(v7) = v7 | 0x80; 15440 LOBYTE(v7) = v7 | 0x80;
15441 pActor->uAttributes = v7; 15441 pActor->uAttributes = v7;
15442 v33 = PID(OBJECT_Actor,v5); 15442 v33 = PID(OBJECT_Actor,v5);