| 572 | } |
| 573 | |
| 574 | void CCustomMonster::Exec_Visibility() |
| 575 | { |
| 576 | // if (0==Sector()) return; |
| 577 | if (!g_Alive()) |
| 578 | return; |
| 579 | |
| 580 | Device.Statistic->AI_Vis.Begin(); |
| 581 | switch (eye_pp_stage % 2) |
| 582 | { |
| 583 | case 0: |
| 584 | eye_pp_s0(); |
| 585 | eye_pp_s1(); |
| 586 | break; |
| 587 | case 1: eye_pp_s2(); break; |
| 588 | } |
| 589 | ++eye_pp_stage; |
| 590 | Device.Statistic->AI_Vis.End(); |
| 591 | } |
| 592 | |
| 593 | #ifdef DEBUG |
| 594 | void CCustomMonster::UpdateCamera() |