Mercurial > mm7
comparison Indoor.cpp @ 1493:9e9a12506d51
player detection partly working
author | zipi |
---|---|
date | Fri, 30 Aug 2013 22:23:54 +0100 |
parents | a27cdb3d753e |
children | 965af46e8793 |
comparison
equal
deleted
inserted
replaced
1492:480b09200f88 | 1493:9e9a12506d51 |
---|---|
4395 v19 = 0; | 4395 v19 = 0; |
4396 for ( i = 0; v18 < v45; i = v18 ) | 4396 for ( i = 0; v18 < v45; i = v18 ) |
4397 { | 4397 { |
4398 v20 = &pActors[ai_near_actors_ids[v18]]; | 4398 v20 = &pActors[ai_near_actors_ids[v18]]; |
4399 if ( v20->uAttributes & 0x8000 | 4399 if ( v20->uAttributes & 0x8000 |
4400 || (v21 = sub_4070EF_prolly_collide_objects(PID(OBJECT_Actor,ai_near_actors_ids[v18]), 4u), v18 = i, v21) ) | 4400 || (v21 = sub_4070EF_prolly_detect_player(PID(OBJECT_Actor,ai_near_actors_ids[v18]), 4u), v18 = i, v21) ) |
4401 { | 4401 { |
4402 v22 = ai_near_actors_ids[v18]; | 4402 v22 = ai_near_actors_ids[v18]; |
4403 v20->uAttributes |= 0x8000u; | 4403 v20->uAttributes |= 0x8000u; |
4404 ai_array_4F6638_actor_ids[v19] = v22; | 4404 ai_array_4F6638_actor_ids[v19] = v22; |
4405 ai_array_4F5E68[v19++] = ai_near_actors_distances[v18]; | 4405 ai_array_4F5E68[v19++] = ai_near_actors_distances[v18]; |